Skip to main content
100%

Fork of Simple Scatter Plot

✓ Published0🌍 Public
TTarun Kumar Bosupally
Last edited Mar 21, 2024
Created on Mar 21, 2024

This example demonstrates a scatter plot of the Iris dataset using D3 v7, plotting sepal length against sepal width across all samples. The visualization uses `scaleLinear` for both axes, `axisBottom` and `axisLeft` for tick marks, and SVG circles with a fixed radius and steelblue fill to represent each data point. The code loads data via `d3.csv` from a remote URL, parses numeric fields, and renders the chart inside an SVG element sized to the browser window. Axis labels and a title are added as SVG text elements.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes