Cat Data draft 4 legend, zoom/pan, popuptooltip
This visualization combines a choropleth map with a scatter plot to explore cat breed data. The map uses a threshold color scale to show the number of breeds per country, while the scatter plot displays maximum life expectancy against weight, with points colored by country of origin. The d3.geoEqualEarth projection renders the map, and d3.scaleThreshold maps data counts to a color palette. Interactive tooltips appear on hover, and the chart supports zoom and pan controls. The d3.v6 library handles SVG rendering and chart animations, with data sourced from a Kaggle cat breeds dataset.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
Cat breeds data set: https://www.kaggle.com/datasets/warcoder/cat-breeds-details/discussion
See also React Starter.