Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Kumar-Reusable-Scatter

Public visualization

Viewing a saved revision (read-only)

f55c703835494272b547373d85a1d1d4

Kumar-Reusable-Scatter

0 stars0🌍 Public
KKumar Danam
Last edited Oct 27, 2025
Created on Oct 27, 2025

This reusable scatter plot displays the relationship between horsepower and miles per gallon for ten car models, using orange-red circles positioned by linear scales. Built with d3.v7 and the reusable chart pattern, the module encapsulates configurable accessor functions, axis labels, dimensions, and color through chainable setters. The visualization loads car_performance.csv via d3.csv with d3.autoType, filters for valid numeric values, and renders an SVG with d3.axisBottom and d3.axisLeft, updating circles through the join pattern.

AI-generated description