Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Webpage

Public visualization

Viewing a saved revision (read-only)

cb3cc12614514503a04916b179be932f

Fork of Webpage

0 stars2🌍 Public
AArungopal Andalam
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Webpage

This example shows a stacked bar graph of the top 10 job titles by total salary, using data from a CSV file of data science salaries. Each bar represents a job title, colored via a categorical scale, with salary totals on the y-axis and rotated labels on the x-axis. The code uses `d3.csv` to load data, `d3.rollups` to aggregate salaries, and `d3.scaleBand` and `d3.scaleLinear` to set up the axes. It renders an SVG with `d3.axisBottom`, `d3.axisLeft`, and includes a legend built from the color scale.

AI-generated description

A blank slate starting point showing the "Hello World" for the VizHub V3 Runtime Environment, which supports continuous hot reloading with interactive widgets.

https://vizhub.com/drbagwell/cfc6aaba08b54a598475e867bcc8fa21