Scatterplot of Primary, Secondary, and Tertiary Schools
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 descriptionA 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.