Skip to main content
Public

Share visualization

Loading preview…

Task-3activity-6

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Task-3activity-6

0
Vvaishnavi6gan@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Task-3activity-6

This example visualizes the Iris dataset as a scatter plot, mapping petal length and width on the axes while coloring each point by species (setosa, versicolor, virginica). Although the code attempts to set circular radius and rectangle attributes, only circle elements with a fixed radius are rendered. It loads CSV data via d3.csv, uses d3.scaleLinear and d3.extent for scales, and renders axes with d3.axisLeft and d3.axisBottom, with SVG circles colored via a switch-based marker function.

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.

Comments

Sign in to join the discussion.

MIT Licensed