{"version":"1.0","type":"rich","title":"A7 -D3 Multi Line Chart","description":"This example displays a multi-line chart tracking Valentine's Day spending trends in the United States from 2010 to 2022 across six categories: candy, flowers, jewelry, greeting cards, evening out, and clothing. It uses D3.js v6 with an SVG rendering to visualize the historical spending data loaded from a CSV file via `d3.csv`. The code employs `d3.scaleLinear` and `d3.axisBottom` for the axes, `d3.line` to generate each category’s path, and `d3.scaleOrdinal` to assign distinct colors to the lines, with a legend built using SVG rectangles and text.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b97ccec931174b6992901c965ca1e2f8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}