{"version":"1.0","type":"rich","title":"Military spending","description":"This chart visualizes military spending from 2001-2020 for major countries. Each colored line represents a country, with the x-axis showing time and the y-axis showing spending in US dollars. The visualization orders the lines by each country's final spending value to make comparisons easier. Built with D3 v5, the code uses `scaleTime`, `scaleLinear`, `scaleOrdinal`, `axisBottom`, `axisLeft`, and `line` to construct the SVG rendering. The data comes from a CSV file, and a color legend is rendered using a custom `colorLegend` function.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b737a15e1b304024baa257ffcbe87f6f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}