Skip to main content
100%

Fork of Activity 6_Task 1

✓ Published0🌍 Public
Kkotagirivarshith2411@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity 6_Task 1

This example presents a horizontal bar chart showing population by country, with each bar’s length encoding the population value and country names on the y-axis. The chart uses React to render SVG elements, with scales and axes created via d3.scaleBand and d3.scaleLinear. Data is loaded asynchronously from a CSV file using d3.csv, and population values are formatted using d3.format to display compact labels like billions. The visualization includes axis labels, tick marks, and styled bars with distinct colors.

AI-generated description
MIT Licensed

Similar vizzes