Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3_Question3.2

Public visualization

Activity6_Task3_Question3.2

0 stars0🌍 Public
KKondreddy Saikiran reddy
Last edited Apr 4, 2024
Created on Apr 4, 2024

This example visualizes the iris dataset, plotting sepal length against petal length and encoding species using different symbol shapes. It builds a scatter plot with D3 v7, using `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `symbolsFill` to map species to shapes, and custom modules for axes and a shape legend. Data is fetched as CSV from a GitHub gist and parsed with `d3.csvParse`. The visualization is wrapped in a React-like state management pattern, though it renders directly into the DOM using `d3.select` and SVG elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed