Skip to main content
100%

Activity 6 Question 1

✓ Published0🌍 Public
Rrahulnathmukkolla@gmail.com
Last edited Apr 1, 2024
Created on Mar 31, 2024
Forked from Hello VizHub

This visualization is a horizontal bar chart showing the population of ten countries in the year 2000. The bar lengths are proportional to population values, with a tooltip revealing the exact number on hover. The chart uses a green fill for the bars and a light blue gridline color. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Data is loaded from a CSV file via `d3.csv`, and the axes are drawn with custom React components. The chart is rendered as SVG, and tick labels use D3's `format('.2s')` to display values in billions.

AI-generated description
<iframe width="560" height="315" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
MIT Licensed

Similar vizzes