Prerequisites:
- Node.js, v4.2.2 or above
- Chrome browser
To set up:
npm installnode server.js- Point your browser to localhost:3000. you should be able to see the files in the folder.
There are 4 examples showing how to work with D3 step by step:
first.htmlandfirst.js: just draw a circle with D3.data-binding.htmlanddata-binding.js: bind data to HTML elements, and operate on elements using D3 selection.bubbles.htmlandbubbles.js: let D3 help us generate a bubble chart layout.interactive.htmlandinteractive.js: add interactive transitions.