Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity7.1-2

Public visualization

activity7.1-2

0 stars0🌍 Public
DDeekshitha Annreddy
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from activity 7 task 2

This chart displays the relationship between car horsepower and highway miles per gallon as a filled area. The code loads CSV data from a GitHub repository and parses the numeric fields. It uses D3.js v7 to create an SVG, applying a linear scale for both axes and the d3.area generator to construct the area path. Axis labels are added using d3.axisBottom and d3.axisLeft, with the chart rendered on a white, rounded background.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed