Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Assignment5

Public visualization

Viewing a saved revision (read-only)

746b2684c3444e0f85949e6235690778

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