Hello World!
Hello world of D3 ! (and hello all other D3'ers in waiting 🙂 )
A test bar chart of div elements.
Click here for details
- div elements sized and coloured by population size.
- Countries data filtered to pop. size >=50M
- Click a bar for more info
Ideas for next steps:
- Add dynamic filtering and sorting capabilities
- Scale accurately by getting max value then calc % of max
- Position population labels end of bar instead of one string
- Make the bars more visually appealing (add hover effects or transitions)
- Improve colour scheme gradient effect, add a base colour chooser ?
- Tidy up code.