Skip to main content
100%

Histogram with D3 - Types of Tropical Cyclones

✓ Published1🌍 Public
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

MIT Licensed

Similar vizzes