Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Scatter Plot

Public visualization

Fork of Fork of Scatter Plot

0 stars1🌍 Public
Vvntchang@gmail.com
Last edited Sep 22, 2023
Created on Sep 22, 2023

This example displays the Fisher Iris dataset as a scatter plot using D3 version 7. The visualization, rendered as an SVG, plots sepal length against petal length, with each data point drawn as a red, semi-transparent circle. The code uses D3's `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` functions to build the coordinate system and axes. Although the HTML includes a dropdown for selecting an X-axis attribute, the JavaScript currently does not implement any interactive behavior, instead rendering a static plot with axis labels and a title.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed