Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

0e70197fcf2b4c299db1abe7feb5ac78

D3 Scatter Plot

0 stars1🌍 Public
GGullyPlook
Last edited Nov 27, 2023
Created on Nov 26, 2023
Forked from HTML Starter

This D3.js scatter plot visualizes the Iris dataset, plotting petal length on the x-axis against sepal length on the y-axis. The code loads CSV data from a remote Gist, converts string values to numbers, and uses `d3.scaleLinear` with `d3.extent` to map data domains to screen coordinates. Individual data points are rendered as SVG circles with tooltips showing their coordinates. Axis ticks are generated using `d3.axisLeft` and `d3.axisBottom`, with the chart filling the entire browser window.

AI-generated description

Scatter Plot using d3. Vanilla html