Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1

Public visualization

Viewing a saved revision (read-only)

044a961a84664b198dcf930d38003ad1

activity 6_Task 1

0 stars0🌍 Public
Kkblikitha22@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This example presents a horizontal bar chart visualizing the population of 30 countries for the year 2020. It uses D3 v7 with an SVG rendering approach, employing `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis. The data is loaded asynchronously from a CSV file using `d3.csv` and rendered with custom `Marks`, `AxisBottom`, and `AxisLeft` components, which utilize `d3.axisBottom` and `d3.axisLeft` for tick generation.

AI-generated description