Skip to main content
100%

piechart_linechart

✓ Published0🌍 Public
GGorantla Vishnusai
Last edited Apr 2, 2025
Created on Apr 2, 2025

This example shows a line chart depicting the relationship between fuel efficiency and engine size for a car dataset. The SVG visualization uses D3.js v6 to load CSV data from a GitHub gist, parse numeric values, and render a single blue line path via `d3.line()`. Linear scales (`d3.scaleLinear`) map the fixed domains for fuel efficiency and engine size, while axes are generated with `d3.axisBottom()` and `d3.axisLeft()`. The chart includes labeled axes for fuel efficiency and engine size, with margins and dimensions set explicitly in the code.

AI-generated description
MIT Licensed

Similar vizzes