🌍 Public
Viewing a saved revision (read-only)
a696d3c0b7c246eca5334804c8eab340
Cars Scatter Plot with Menus
TTsen Hsieh
Last edited Nov 12, 2022
Created on Sep 28, 2022
This scatter plot shows the relationship between miles per gallon and horsepower for cars from the auto-mpg dataset. Each point is a semi-transparent blue circle, with axes labeled and scaled using linear scales with nice tick intervals. The visualization is built with D3 v7, using `scaleLinear` for coordinate mapping, `axisLeft` and `axisBottom` for grid lines and labels, and SVG rendering. The CSV data is loaded via D3's `csv` function and parsed into numeric values before plotting.
AI-generated description