Skip to main content
100%

Lab3

✓ Published1🌍 Public
XXuân Vinh
Last edited Oct 26, 2023
Created on Oct 25, 2023

This scatter plot visualizes Vietnamese provinces by population on the x-axis and GRDP per capita on the y-axis, with circle size encoding land area and color representing population density. The D3.js code loads CSV data via `d3.csv`, uses `scaleLinear` for axes, `scaleSqrt` for area-proportional circles, and `scaleOrdinal` with `schemeCategory10` for discrete density colors. Axes are generated with `axisBottom` and `axisLeft`, while `opacity` reduces overplotting. The SVG rendering is fixed at 600×300 pixels with margins, and the data originates from a GitHub-hosted CSV file.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes