Skip to main content
100%

scatterplot in progress

✓ Published0🌍 Public
FFlazyy
Last edited Oct 17, 2017
Created on Oct 17, 2017

This example demonstrates a scatterplot that initially displays randomly generated points, then transitions to plotting the classic Iris dataset. The visualization uses D3.js scales to map sepal length, sepal width, and petal length to the x position, y position, and point size respectively, with categorical colors applied to the circles. The axes are created with d3.axisBottom and d3.axisLeft. The chart is rendered as an SVG, and the code includes both a preliminary random-data phase and a final phase that loads and plots the Iris dataset from a CSV file, with the x, y, and r scales re-domained accordingly.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/4c9487b46840585b7e24fa92e3a37b53'>scatterplot in progress </a>

mit Licensed

Similar vizzes