Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Areachart

Public visualization

Viewing a saved revision (read-only)

277bec2eded8466395f69c51c94c7f61

Areachart

0 stars0🌍 Public
GGorantla Vishnusai
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Areachart

This area chart visualizes the relationship between fuel efficiency and engine size for a car dataset loaded from a GitHub-hosted CSV file. The chart uses `d3.area` to generate a filled path, with `d3.scaleLinear` for both axes and `d3.axisBottom`/`d3.axisLeft` for tick marks. The SVG rendering displays a semi-transparent steelblue region, with labeled axes for "Fuel Efficiency" and "Engine Size". Data values are parsed from strings to numbers before domain scaling, and the area’s baseline is set to the chart’s height.

AI-generated description