Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Q2 Area chart

Public visualization

Viewing a saved revision (read-only)

f08fae58d7ce47ab99293fe91778734a

Fork of Q2 Area chart

0 stars0🌍 Public
Rramsrinivaskatragadda@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Q2 Area chart

This example displays a responsive scatter plot of employee salaries using an SVG-based area chart. It loads salary data from a CSV file and maps employee IDs along the x-axis using d3.scaleBand, with salary values on a linear y-scale via d3.scaleLinear. The chart utilizes d3.area to render a filled steelblue region beneath the salary points, and interactive circles with pointer-events enable tooltips that display employee names on mouseover. Axis labels are rotated for readability, and the visualization updates dynamically with d3 transitions.

AI-generated description

A responsive scatter plot.