Skip to main content
100%

Province Data Compare

✓ Published1🌍 Public
LLex
Last edited Apr 11, 2020
Created on Apr 11, 2020

The visualization compares case numbers across Chinese provinces using a grouped bar chart, with bars representing "OurData" and "ActrualData" from a JSON dataset. It renders SVG bars that animate upward on load, while axes and legend fade in sequentially. Built with D3 v3, it uses ordinal scales for categorical positioning, linear scaling for values, and transitions to animate bar heights and element opacity. Hover interactions darken bar colors, and the chart includes rotated x-axis labels for province names.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes