Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Province Data Compare

Public visualization

Viewing a saved revision (read-only)

3ce23fb8cc594ae19e3a2956d5d22258

Province Data Compare

0 stars1🌍 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.