Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of barGraph

Public visualization

Viewing a saved revision (read-only)

74eab83a2de445faa7abef79c1ae841b

Fork of barGraph

0 stars0🌍 Public
Jjmkdev9
Last edited Oct 12, 2023
Created on Oct 12, 2023
Forked from barGraph

This visualization combines a bar chart and scatterplot overlay to display 2022 population data for countries, with interactive sorting buttons that reorder the data ascending or descending. The bars and circles transition smoothly using D3’s `.transition().duration()` methods, while hovering reveals tooltips with country and population details. Data is loaded via `d3.csv` from a local CSV file and rendered as SVG, with axes constructed using `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`.

AI-generated description