Examples of using D3 in React with declarative syntax rather than JavaScript DOM operations. See the blog post for more details on why a declarative approach is taken.
This demo is built upon Create React App, so visit them for any trouble shooting. See this blog post for setting up Prettier in Visual Studio Code.
Install dependencies
yarn
Run
yarn start
You can see the examples running online at https://row1.github.io/react-declarative-d3.