sfbrigade / datasci-sba

Solving problems with the Small Business Administration
10 stars 18 forks source link

adding histogram to color & filter controls #54

Closed avdonovan closed 7 years ago

avdonovan commented 7 years ago

1. Brief Summary of what this PR accomplishes (140 characters or less. If you find trouble describing what you are doing in this length, consider breaking the PR into multiple ones.)

Adds d3-powered histograms to the color & filter controls.

2. Link to Trello Ticket

3. More detailed description and other questions to address in code review

This is just a proof-of-concept I was hacking on during the session Wednesday night. It shows it's pretty easy to incorporate d3-based visualizations into the React app. The way I've done it isn't very performant (it ends up re-rendering the svg a lot) but in practice it seems good enough for now. screenshot from 2017-08-31 20-52-25

4. Remember to tag reviewers!

VincentLa commented 7 years ago

This is super cool