Export Code
Connected
package.json
{
"dependencies": {
"d3": "7.8.4",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"license": "MIT",
"vizhub": {
"libraries": {
"d3": {
"global": "d3",
"path": "/dist/d3.min.js"
},
"react": {
"global": "React",
"path": "/umd/react.production.min.js"
},
"react-dom": {
"global": "ReactDOM",
"path": "/umd/react-dom.production.min.js"
}
}
}
}

React & D3 Starter

Curran Kelleher

Last edited Feb 21, 2025
Created on Jun 05, 2022
Forked from HTML Starter

This viz is a starter that demonstrates patterns used in real world projects in which complexity is anticipated to scale.

  • Decoupled React & D3 integration
  • Opening moves for scalable complexity
  • Industry standard ES modules and JSX
  • Copy-paste into existing projects

Any questions? Ask on Twitter!

Also viewable in:

MIT Licensed