Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 3 Questions

Public visualization

Viewing a saved revision (read-only)

7913d99485804346bde2ac9c9400e7ac

Task 3 Questions

0 stars0🌍 Public
SSiddhardha
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This scatter plot maps customer satisfaction scores to monthly spending, using color to distinguish satisfied customers (green) from dissatisfied ones (red). Each circle represents a customer, positioned along the x-axis for satisfaction and the y-axis for spending. The visualization uses D3 v7 with `d3.scaleLinear` for axes, `d3.scaleThreshold` for the two-color grouping, and a legend built from `invertExtent`. A tooltip appears on hover, and the chart is rendered as SVG with manual axis labels and margins.

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.