Skip to main content
100%

i7q1

✓ Published1🌍 Public
Kktvgs25@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This interactive scatter plot visualizes country demographics, plotting population against economic, health, and internet-usage metrics from a CSV dataset. The visualization cycles through three x-axis variables—GDP, life expectancy, and internet users—every two seconds, creating an animated comparison of development indicators. Built with a reusable D3.js scatter plot module, the SVG chart uses `scaleLinear`, `axisLeft`, and `axisBottom` APIs to render axes and circles that update dynamically. The code employs the `join` pattern for idempotent updates, and the animation is driven by `setInterval` in the main script, which loads data via `d3.csv` and appends axis labels dynamically.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes