Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A4_BoxplotPlot

Public visualization

A4_BoxplotPlot

0 stars2🌍 Public
DDuc Pham
Last edited Feb 26, 2024
Created on Feb 26, 2024
Forked from A4_ScatterPlot

This example visualizes the salary distribution across different job types using boxplots, highlighting the minimum, maximum, median, and quartile ranges for each category. The chart is rendered as an SVG using D3 v7, with interactive hover effects that display the exact max, min, and median values as text annotations. It loads the dataset from an external CSV file containing job titles and salaries, then computes quartiles and draws rectangles, lines, and axes. The code relies on D3 scales like `d3.scaleBand` and `d3.scaleLinear`, along with statistical methods such as `d3.quantile` and `d3.median`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed