Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ass8_Question3

Public visualization

Viewing a saved revision (read-only)

aa2d3df0a7df4fe38e9eac6ca8dc040c

Ass8_Question3

0 stars0🌍 Public
AAbdul Kareem
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between carat and price in the Diamonds dataset, with each circle colored by the diamond’s cut quality using a D3 ordinal color scale. The visualization includes interactive tooltips that display cut, carat, and price on mouseover, and it employs D3 scales (scaleLinear), axes (axisLeft, axisBottom), and SVG rendering. Data is loaded asynchronously from a CSV hosted on GitHub, with the plot sizing to the full browser window.

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.