Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Cat Data draft 2 get the classes to work

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

Fork of Fork of Cat Data draft 2 get the classes to work

0
Cchris.shimotake@gmail.com
Last edited May 10, 2024
Created on May 6, 2024

This visualization combines a choropleth map and a scatter plot to explore cat breed data. The left map displays the geographic origin of breeds, using a color scale based on the count of breeds per country. The right scatter plot compares maximum life expectancy against minimum weight for each breed. The code uses D3.js v6, specifically `d3.geoEqualEarth` for map projection and `d3.geoPath` for rendering geographic paths. Both visualizations are rendered as SVGs, with tooltips providing additional detail on hover.

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.

Comments

Sign in to join the discussion.

MIT Licensed