Skip to main content
Public

Share visualization

Loading preview…

Scatterplot of Primary, Secondary, and Tertiary Schools

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Scatterplot of Primary, Secondary, and Tertiary Schools

0
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.

Comments

Sign in to join the discussion.

MIT Licensed