Skip to main content
100%

ICE-6

✓ Published0🌍 Public
Aabdhaseeeb
Last edited Mar 12, 2023
Created on Mar 11, 2023
Forked from HTML Starter

This example displays a horizontal bar chart of the 12 most populous countries in 2022, loaded from a CSV dataset via d3.csv. D3’s scaleBand and scaleLinear map country names and population values to SVG rectangles, with axes drawn manually using d3.axisBottom and d3.axisLeft. The chart is rendered inside a React component using react-dom, with D3 v5 handling data parsing and scales, while React manages state and updates the SVG elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes