Skip to main content
100%

Scatter Plot with Menus

✓ Published0🌍 Public
WWarren-Fitzhenry
Last edited Jan 4, 2020
Created on Jan 4, 2020
Forked from Cars Scatter Plot

This example displays a scatter plot of car weight against horsepower, with each vehicle represented by a semi-transparent red circle. The visualization uses D3 version 5 to load the auto-mpg dataset from a CSV file, map the data to linear scales, and render the axes and points in an SVG canvas. The code defines value accessors for the x and y variables, applies axis guides with tick lines, and includes axis labels and a title, all styled via an external stylesheet.

AI-generated description
MIT Licensed

Similar vizzes