Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Histogram

Public visualization

Histogram

0 stars0🌍 Public
SSrinivasAbburi@my.unt.edu
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from histogram

This histogram visualizes the distribution of salary values in U.S. dollars from a CSV dataset loaded via a gist URL. It uses D3.js v7 with an SVG renderer to draw rectangular bars, each representing a salary range, with bar height indicating frequency. The code applies `d3.histogram()` with `xScale.ticks(20)` to bin the data, along with linear scales for both axes. Hovering highlights bars in orange, and axis labels are rotated for readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed