Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3

Public visualization

Viewing a saved revision (read-only)

cfc08ef13f224bd58bb02476ef808067

Activity6_Task3

0 stars0🌍 Public
Vvarshithainaganti@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This scatter plot visualizes the Iris dataset, mapping petal length and width for individual flowers while encoding species with distinct colors. The visualization uses D3 v6, loading data from a CSV file and rendering circles as SVG marks. It demonstrates D3's scaleLinear, extent, axisLeft, and axisBottom APIs to construct the chart, with a custom marker function assigning skyblue, lightgreen, or orange based on species. The plot includes rotated axis labels and uses window dimensions for responsive sizing.

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.