Skip to main content
100%

Activity6_Task1

✓ Published0🌍 Public
Ggreeshmareddy135@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity 7

This interactive bar chart displays the population of the top 30 countries in 2020, sourced from a CSV file hosted on GitHub. Built with React and D3 v5, it renders SVG rectangles using the `Marks` component, with the `scaleBand` and `scaleLinear` functions mapping country names and population values to visual coordinates. Interactive tooltips reveal precise population figures via the `<title>` element. Axis ticks and labels are generated dynamically through the `AxisBottom` and `AxisLeft` components, while the chart is styled with custom CSS classes for a clean presentation.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes