Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot of Primary, Secondary, and Tertiary Schools

Public visualization

Viewing a saved revision (read-only)

e481f2519a2a41fb9cbf9e0f8c6e12f7

Scatterplot of Primary, Secondary, and Tertiary Schools

0 stars0🌍 Public
LLilly-beth Linnell
Last edited Sep 29, 2021
Created on Sep 20, 2021
Forked from D3 Scatter Plot

A scatterplot maps countries’ education statistics from a UN dataset on primary, secondary, and tertiary enrollment. Each circle’s vertical position represents the enrollment count, while its horizontal position corresponds to the education level, using a linear scale for the count and a point scale for the categorical level. The visualization is built with D3 v6, using `scalePoint` and `scaleLinear` to position marks, and `axisLeft` and `axisBottom` for chart axes. The code loads data via `d3.csv` and renders circles as SVG elements.

AI-generated description

A scatterplot using the UN Primary, Secondary, and Tertiary Education dataset. The circles represent the country, while the position of the circles represent the number of students enrolled (y-axis) and whether they were enrolled in primary, secondary, or tertiary education (x-axis).

Issues: It didn't work, I think I just haven't gotten the scalePoint correct and I needed to intrduce maybe color between boys versus girls.