Skip to main content
100%

Activity6_Task3

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

Similar vizzes