{"version":"1.0","type":"rich","title":"Making a Bar Chart","description":"This example displays a static horizontal bar chart of national populations, sorted by the descending values in the `data.csv` file. It shows the relative population sizes for ten countries, from China to Mexico. The visualization is built using D3 v5, loading the CSV data with the `csv` function and then rendering bars as SVG `rect` elements onto a 960-by-500 pixel canvas. The population values are converted from strings to numbers using the unary plus operator and scaled by a factor of 1000 before being used for the bar dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c40ba9e4ff80400586dc8f24c61e09f1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}