Skip to main content
100%

Fork of 6th visualisation 1

✓ Published0🌍 Public
Cchintamanenithp@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024

This scatter plot visualizes the relationship between population and GDP across countries, with each point colored by region and interactive tooltips showing country details. It uses D3 v7 to load CSV data from a GitHub repository, then renders an SVG chart with linear scales for both axes and an ordinal color scale based on region_id. The code employs d3.csv, d3.scaleLinear, d3.scaleOrdinal, d3.axisBottom, and d3.axisLeft to construct axes, circles, and a categorical legend, all within a responsive layout.

AI-generated description

A responsive scatter plot.

MIT Licensed

Similar vizzes