{"version":"1.0","type":"rich","title":"Line chart","description":"This example displays a line chart of total sales per year, with a single steelblue path plotted against a time-scaled x-axis and a linear y-axis. The chart is a static SVG rendered in D3 v7. The code loads a CSV from a GitHub gist (titanic.csv), aggregates sales data by summing each year’s column, and uses `d3.scaleTime`, `d3.scaleLinear`, `d3.line`, and `d3.axisBottom`/`d3.axisLeft` to construct the visualization. The SVG is sized at 800x400 pixels with margins, and axis labels are added as text elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/26c02617b52941a79fcaf36f9d65abd1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}