Skip to main content
100%

Surendra_Actitvity_6.1

✓ Published0🌍 Public
Ssanavenkatasurendrareddy@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Actitvity6.1

This bar chart displays the population of the top 10 countries in the year 2000, using a horizontal layout with a light green fill for each bar. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis. User-defined Axis components render tick marks and labels, while the `Marks` component generates SVG rectangles with tooltips. The data is loaded from a CSV file via D3’s `csv` function, formatted with `format('.2s')`, and shown as an SVG graphic.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes