Skip to main content
Public

Share visualization

Loading preview…

Histogram with D3 - Types of Tropical Cyclones

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Histogram with D3 - Types of Tropical Cyclones

0
OOlha
Last edited Apr 17, 2022
Created on Apr 7, 2022
Forked from Histogram with D3

This histogram shows the frequency of different types of tropical cyclones recorded between 1950 and 2015. The data, loaded from a CSV file using `d3.csv`, is mapped with `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the count on the y-axis. SVG rectangles are rendered with tooltips that appear on mouseenter using `d3.select` and are removed on mouseleave. Axis functions `d3.axisBottom` and `d3.axisLeft` format the chart.

AI-generated description

Final Project: Types of Tropical Cyclones

Histogram inspired by https://www.d3-graph-gallery.com/graph/histogram_tooltip.html and by documentation https://github.com/d3/d3/blob/main/API.md

Comments

Sign in to join the discussion.

MIT Licensed