activity7.1-2
✓ Published0🌍 Public
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 descriptionMIT Licensed