Skip to main content
100%

Activity6_Task1

✓ Published0🌍 Public
VVidya Lakshmi Chitturi
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Activity6_Task1

This example displays a horizontal bar chart comparing the 2020 population data for 30 countries, with bars sized by xScale and country names on the y-axis. It uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning and d3.format for tick labels. The bars are light green rectangles with tooltips showing formatted population values, and the data is loaded from a CSV file via d3.csv.

AI-generated description
MIT Licensed

Similar vizzes