randomly load a simple example on home page
When a user comes to the blockbuilder.org homepage they could be greeted with a real d3 example randomly chosen from a preselected list that we curate.
lets brainstorm those examples in this issue.
The examples should be:
- very well done (mbostock grade)
- short
- easy to understand
- demonstrating one (only one) point of code or technique
- visually nice
- have some sort of documentation
- using d3 v4 not v3
- using best-practices
We can have:
- the general update pattern https://bl.ocks.org/mbostock/a8a5baa4c4a470cda598
- transitions
- d3.geo (lots!!) http://bl.ocks.org/Fil/48734366b4d64aa1b26bd256ee8f7c5e
- customized forces
- voronoi
- colors
I'd also like them to be single file / just the html if possible. This way users can just delete all (or most) of the example and get going.
Not sure about the "random" part; I'd like to be able to find the same block that caught my attention when I arrived. So maybe an example of the day with links to previous examples.
"Block of the day" would solve above issue (i guess, then user could fork the block within 1 day range), but i would also include a page where the best blocks for learning were listed.
This could be a good starter point: http://bl.ocks.org/enjalot/raw/211bd42857358a60a936/
Having that list, it would be reasonable to favor those blocks on search page.