Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment5

Public visualization

Viewing a saved revision (read-only)

33ee82b81d4c4dbcb2f6f74eba35253f

Assignment5

0 stars0🌍 Public
HHaiyan Sun
Last edited Sep 29, 2026
Created on Sep 29, 2026
Forked from D3 Starter

This visualization displays the relationship between market capitalization and annual revenue for 30 U.S. companies using a scatter plot. D3 v7 loads CSV data from a GitHub gist and renders an SVG chart with circles positioned by two quantitative axes. The code reports dataset summary statistics with formatted numbers and labels axes with dollar values in billions. Uses `d3.csv()` for parsing, `d3.extent()` for value ranges, and `d3.format()` for number formatting, with equal circle size to emphasize positional encoding.

AI-generated description