Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 8_Task 1

Public visualization

Viewing a saved revision (read-only)

2d45233f51bb4ee2adfb482cfa4fcd81

activity 8_Task 1

0 stars1🌍 Public
Cchsaisriharsha@gmail.com
Last edited Jul 12, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This interactive scatterplot visualizes the Iris dataset, comparing sepal and petal measurements across three flower species. The visualization cycles through different measurement combinations on the x-axis using a setInterval, dynamically updating the plot. The code uses D3 v5 with SVG rendering, employing scaleLinear scales, axisBottom, and axisLeft for the chart structure. Animated transitions show data points colored by species, with a custom legend displaying the species names and a title. The example loads data from a CSV file, uses a scatterPlot function for modular chart construction, and demonstrates D3's join pattern for data binding.

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.