Skip to main content
100%

T3.2-Jaynica nunna

✓ Published0🌍 Public
Nnunnajaynica@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from T3.2-Jaynica nunna

This example shows a scatter plot of Iris flower measurements, mapping sepal length on the x-axis and petal length on the y-axis, with each species represented by a distinct symbol shape and a custom legend. The code loads data from a remote CSV file using `d3.csvParse` and renders the chart with D3 v7, using `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.symbol` for positioning and shape encoding. Axes are composed via `d3.axisLeft` and `d3.axisBottom`, while the visualization is orchestrated through local ES6 modules, demonstrating modular data-binding patterns with joins and `setState` for async data loading.

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