Histogram with D3 - Types of Tropical Cyclones
✓ Published1🌍 Public
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 descriptionFinal 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