Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity_6_task# questions

Public visualization

Viewing a saved revision (read-only)

817cfdb5c7504d86bbdbbb054ed627e4

activity_6_task# questions

0 stars0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example visualizes the classic Iris dataset as a scatter plot, with petal length on the horizontal axis and sepal length on the vertical axis. Each flower’s measurements are represented as a circle, using the raw data fetched from a GitHub Gist via `d3.csv` and parsed with custom row-handling logic. The visualization leverages D3 v6’s `scaleLinear` to map data values to pixel coordinates, `axisLeft` and `axisBottom` for axes, and the `.join` operator to efficiently bind the marks to SVG circles. The chart fills the entire browser window, using `window.innerWidth` and `window.innerHeight` for sizing.

AI-generated description