{"version":"1.0","type":"rich","title":"Fork of Line_Chart_ChoclateSales","description":"This D3.js line chart visualizes chocolate sales data from 2008 to 2021, plotting total sales against years. The chart uses SVG rendering within a React starter setup, with axes labeled \"years\" and \"totalsales.\" The code loads CSV data via D3's `csv` function, transforms date strings using `d3.timeParse`, and builds the visualization with `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line`. Grid lines and axis labels are styled through CSS, while the sales trend line is drawn in red.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/cd8df8fb16ef4dc8a147080d362ff704?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}