Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity -6 Task 3

Public visualization

Viewing a saved revision (read-only)

93e67dea294c4e62a0e6d1e02945ab50

Activity -6 Task 3

0 stars0🌍 Public
Rrahulnathmukkolla@gmail.com
Last edited Apr 2, 2024
Created on Apr 1, 2024
Forked from Hello VizHub

This example displays the classic Iris dataset using a scatter plot to visualize the relationship between petal length and petal width, with each of the three species color-coded (skyblue, lightgreen, orange). The visualization loads CSV data directly from a GitHub repository using d3.csv, maps the data to screen coordinates with d3.scaleLinear, and renders circular markers as SVG elements. Axis labels are added for both dimensions, and the layout adapts to the full browser window size. The code relies on D3 version 6.7.0 for data parsing, scales, and SVG generation.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.