Skip to main content
100%

D3 Scatter Plot

✓ Published1🌍 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

MIT Licensed

Similar vizzes