Skip to main content
100%

Fork of Task8_Q1.1

✓ Published1🌍 Public
Sshraehithareddy@gmail.com
Last edited Apr 15, 2024
Created on Apr 14, 2024
Forked from Task1_Activity6

This horizontal bar chart displays the top 10 countries by population in the year 2000, with country names on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data from a CSV file loaded via `d3.csv`. The SVG renders axes through custom `AxisBottom` and `AxisLeft` components, while `Marks` draws green rectangles with tooltips formatted using `d3.format`. Data comes from a GitHub-hosted CSV, with axis labels styled via CSS classes.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes