🌍 Public
Viewing a saved revision (read-only)
7e033bf1e1984e15ba67646ceb2d9e3c
Activity 6_Task-1_Tutorial
This bar chart visualizes the 2020 population estimates for 30 countries, sourced from a CSV file. The chart uses horizontal bars with a linear x-scale for population values and a band scale for country names. Built with D3 v5 and React, it renders as an SVG. The code defines custom axis components and uses a `Marks` component to draw rectangles. A tooltip, implemented via an SVG `<title>` element, displays the formatted population value on hover.
AI-generated descriptionCreating bar graph using the vizHub