Skip to main content
100%

Cat Data draft 4 legend, zoom/pan, popuptooltip

✓ Published2🌍 Public
Cchris.shimotake@gmail.com
Last edited May 9, 2024
Created on May 8, 2024

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 description

A 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.

MIT Licensed

Similar vizzes