Skip to main content
100%

Untitled

✓ Published0🌍 Public
Vvihaansubhash
Last edited May 12, 2023
Created on May 12, 2023
Forked from D3 Starter

This scatter plot shows the relationship between Happiness Score and rate of depressive disorders, with each circle’s size encoding population and color distinguishing four geographic regions. The visualization uses D3.js (v3) to load a CSV file via `d3.csv`, maps data to positions with `d3.scaleLinear`, assigns categorical colors with `d3.scaleOrdinal`, and renders SVG circles. Axes are generated using `d3.axisBottom` and `d3.axisLeft`, with opacity set to 0.5 for overlapping points.

AI-generated description
MIT Licensed

Similar vizzes