Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pet_adoption_data

Public visualization

Viewing a saved revision (read-only)

74dd8e6eb859475ca0fdd38aef815698

pet_adoption_data

0 stars0🌍 Public
Sshabanasyed2266@gmail.com
Last edited Oct 6, 2025
Created on Oct 6, 2025

This visualization summarizes pet adoption records from a CSV dataset, displaying key performance indicators like total rows, missing values, average adoption fee, and average age. It includes a bar chart showing the average adoption fee by pet type, rendered as SVG using D3.js. The code loads data with `d3.csv`, calculates summary statistics with `d3.mean`, and builds the chart using `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft` for axes. Missing values are handled by filtering the dataset before aggregation.

AI-generated description