Fork of HTML Starter
✓ Published0🌍 Public
This example demonstrates a D3.js v7 line chart that visualizes the profit trends of an automobile sales company from 1985 to 2024. The visualization uses SVG rendering with a band scale for the years on the x-axis and a linear scale for profit values (in millions) on the y-axis. Red circular points mark yearly data values with tooltips on hover, connected by a red line to emphasize trends. The chart includes labeled axes, a title, and uses the Poppins font, with margins calculated from the window dimensions for a responsive layout. The source data is fetched from a CSV file hosted on GitHub.
AI-generated descriptionMIT Licensed