Skip to main content
100%

Count and Type (Species and Breed) of Seattle Pets

✓ Published0🌍 Public
Rrachelhahn
Last edited Sep 16, 2019
Created on Sep 9, 2019

This stacked bar chart shows the number of registered pets in Seattle, broken down by species and further subdivided by breed, revealing that dogs outnumber cats and that Labrador Retrievers and Domestic Shorthairs are the most common breeds. The visualization uses vega-lite-api to define a bar mark with an x-axis encoding for species and a y-axis encoding for the count, while color encodes the primary breed. Data is loaded asynchronously with d3.csv from a GitHub gist, and the chart is rendered with Vega and Vega-Lite, with interactivity provided by vega-tooltip.

AI-generated description

This is a visualization of the dataset Seattle Pets which shows the number of pets based on species that is broken up based on breed. We can see through this stacked bar chart that people really like to have dogs over cats. We also see that the most popular dog breed is a labrador retriever whereas the most popular car breed is domestic shorthair.

MIT Licensed

Similar vizzes