Skip to main content
100%

activity_6_task# questions

✓ Published0🌍 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
MIT Licensed

Similar vizzes