Skip to main content
100%

SDV_Project_Visualization_2

✓ Published1🌍 Public
Hhemanthkakani1999@gmail.com
Last edited Apr 24, 2024
Created on Apr 20, 2024
Forked from HTML Starter

A dual-axis line chart compares 2024 data science salaries and layoffs across five countries, using a shared x-axis for country names while plotting salary (left axis, in USD) and layoff counts (right axis) as separate polylines. The visualization pairs two CSV datasets loaded via `Promise.all` and `d3.csv`, filters them by year, and maps common countries before rendering SVG axes with `d3.axisBottom`, `d3.axisLeft`, and `d3.axisRight`. Lines are drawn using `d3.line`, with scales including `d3.scaleBand` and two `d3.scaleLinear` domains for the differing metrics.

AI-generated description
MIT Licensed

Similar vizzes