Skip to main content
100%

fresh block

✓ Published0🌍 Public
DDarienLiang
Last edited Nov 27, 2016
Created on Nov 27, 2016

A bar chart displays accident counts by state, with each state clickable. The visualization uses D3 v3 to render SVG bars, with mouseover effects changing bar color to yellow and mouseout transitions restoring the original color. Users can enter a state number in an input field, which triggers a d3pie chart showing the distribution of fatal counts (1, 2, or >2) for that state. The code loads both bar_chart1.csv and pie_chart1.csv datasets, using jQuery for input handling and d3.csv for parsing the CSV data.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes