Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question-3(ScatterPlot)

Public visualization

Viewing a saved revision (read-only)

5ed192fcaad541d5bf31aca64f83066b

Question-3(ScatterPlot)

0 stars0🌍 Public
Rrahul.bonu524@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between fruit weight and diameter, with each point colored and shaped according to fruit type. The visualization uses D3.js v7 with d3.scaleLinear for axes, d3.scaleOrdinal with d3.schemeCategory10 for colors, and d3.symbols for distinct point shapes. A custom shape legend displays the fruit type categories. Data comes from a CSV file loaded via d3.csvParse, with axes and labels rendered using d3.axisLeft and d3.axisBottom.

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.