Skip to main content
100%

Fork of activity 6_Task 1Q2

✓ Published0🌍 Public
VVijay Sheru
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from activity 6_Task 1

This example shows a bar chart of the top 20 countries by population in 2010, sorted in descending order, using a horizontal layout with a linear x-scale and a band y-scale. The chart renders as an SVG in a React app, with D3 v5 handling the data loading via `d3.csv` and the scale creation via `scaleLinear` and `scaleBand`. Axes are custom-built components, and each bar includes a tooltip via the SVG `<title>` element, with the dataset sourced from a GitHub-hosted CSV file.

AI-generated description
MIT Licensed

Similar vizzes