Skip to main content
100%

Fork of barGraph

✓ Published0🌍 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
MIT Licensed

Similar vizzes