🌍 Public
Viewing a saved revision (read-only)
7857d168e0ca4790b9355a4120095f51
pet_adoption_data
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