Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7

Public visualization

Viewing a saved revision (read-only)

7194df9db77e4aa58ad246d46deab383

ICE 7

0 stars0🌍 Public
Yyvarshachowdary@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example shows a reusable scatter plot of age versus salary, with triangular markers colored blue or green depending on whether each salary falls above or below the dataset’s median. The visualization uses D3 v6 with `d3.csv` for loading external data, `d3.scaleLinear` for axes, and `d3.symbol` with `d3.symbolTriangle` for point shapes. The reusable `createScatterPlot` function allows customization of colors, symbols, and titles. The plot renders as SVG, with axes labeled and styled via standard D3 transitions and selections.

AI-generated description