Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

histogram

Public visualization

histogram

0 stars1🌍 Public
AArungopal Andalam
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Task-9

This histogram visualizes the distribution of salaries from a data science salaries dataset, showing the frequency of salary values within equal-width bins. The visualization uses D3.v7 to load CSV data, compute histogram bins with the `d3.histogram` API, and render the result as SVG rectangles. Axes are added using `d3.axisBottom` and `d3.axisLeft`, with the x-axis labels rotated for readability. The chart includes a legend and interactivity, as bars change color on hover.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed