Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSCE 5320 HW5

Public visualization

Viewing a saved revision (read-only)

f945c7e06c7c499a9cf1cdc9fd7bf1c6

CSCE 5320 HW5

0 stars0🌍 Public
Llokeshpraveen01@gmail.com
Last edited Sep 30, 2026
Created on Sep 30, 2026
Forked from HTML Starter

This example presents a scatterplot of country-level data, plotting GDP per capita against CO2 emissions per capita, with each point colored by region and sized by population. The visualization summarizes the dataset’s rows, columns, and key statistics for the x-axis variable, including its mean and median. Built with D3 v7, it loads CSV data from a GitHub gist and uses `d3.scaleLinear` for both axes, `d3.scaleOrdinal` for region-based coloring, and `d3.extent`, `d3.mean`, and `d3.median` to compute summaries. Rendering is SVG-based with axes and labels styled via CSS.

AI-generated description