Skip to main content
100%

Fork of ICE-6

✓ Published0🌍 Public
SSushmareddy-gudipally
Last edited Mar 6, 2022
Created on Mar 6, 2022

This example displays a horizontal bar chart of the top 10 most populous countries in 2019, with country names on the y-axis and population values on the x-axis. The chart uses React hooks to manage state and load the CSV data, while D3 utilities like `scaleBand`, `scaleLinear`, and `max` handle scaling and axis generation. The visualization renders as an SVG, with gridlines and tick labels drawn manually, and bars styled with a default blue fill. Data originates from a GitHub-hosted CSV file.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes