Skip to main content
100%

Assignment_Task1Q1

✓ Published0🌍 Public
Ddineshnimmagadda1@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This visualization shows the populations of ten countries in the year 2000, sorted in descending order, using horizontal bars with the country names listed on the left y-axis. The data comes from a CSV file loaded via `d3.csv`, and the chart is rendered as SVG within a React component. It uses `d3.scaleBand` for the categorical y-axis, `d3.scaleLinear` for the quantitative x-axis, and `d3.max` to determine the domain. Custom React components define the axes and marks, with bars styled using SVG `<rect>` elements and tooltips provided by the native `<title>` element.

AI-generated description
MIT Licensed

Similar vizzes