Skip to main content
100%

Assignment5

✓ Published0🌍 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
MIT Licensed

Similar vizzes