D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
alansmithy
Full window
Github gist
Basic react
Built with
blockbuilder.org
<!DOCTYPE html> <head> <meta charset="utf-8"> <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script> <script src="https://unpkg.com/react@16/umd/react.production.min.js" crossorigin></script> <script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js" crossorigin></script> </head> <body> <div id="app"></div> <script type="text/babel"> const MyComponent = (props) => (<div>Hi {props.name}!!</div>); const App = (props) => (<div><h1>My App</h1><MyComponent name={props.somebody}/></div>) ReactDOM.render( <App somebody="Alan" />, document.getElementById('app') ); </script> </body>
https://unpkg.com/@babel/standalone/babel.min.js