Skip to main content
100%

ICE 6

✓ Published0🌍 Public
Ssaidhiraj16
Last edited Mar 6, 2022
Created on Mar 6, 2022

This example displays a horizontal bar chart of the top 10 most populous countries for 2019, ranked by population count. The visualization uses React with hooks to load CSV data and D3 v5 for scales and rendering, including `scaleBand` and `scaleLinear` for axes, alongside custom SVG elements for bars and gridlines. The dataset is fetched from a GitHub gist and sliced to the first ten entries, with the chart appearing within a React-managed SVG container.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes