ICE-6
✓ Published0🌍 Public
Aarcothanmukha
Last edited Mar 8, 2022
Created on Mar 8, 2022
This interactive bar chart displays the cost of accidents across the top 50 major states, using data loaded from a CSV file. The visualization employs React with D3 v5, utilizing `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. SVG rectangles represent each state’s cost, with gridlines and tick labels generated through D3’s axis utilities. The chart presents data in a sorted horizontal layout, rendering directly to the DOM via React components.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed