Skip to main content
100%

Basic Scatter Plot

✓ Published1🌍 Public
Ggmille22
Last edited Apr 4, 2020
Created on Apr 3, 2020

This example shows a scatter plot of car weight against horsepower, with each circle representing a vehicle and axes labeled accordingly. The visualization uses D3 v5's `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` APIs to map data values to SVG coordinates, while `csv` loads the auto-mpg dataset from a remote URL. Gridlines are drawn via tick sizes, and axes labels and a title are appended as SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes