{"version":"1.0","type":"rich","title":"creating a barchart","description":"This example creates a static bar chart visualizing cricket players’ career runs using a CSV dataset. The code loads data with `d3.csv`, parses the `RUNS` field as a number, and appends SVG `<rect>` elements using D3’s selection and data-join methods. It defines a linear scale with `d3.scaleLinear` (using a typo, `scaleLiner`) to map the maximum run value to the chart width. The React-based setup relies on UMD builds from unpkg, though the chart is rendered imperatively with D3 rather than through React components.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3bc3bc8632c449b687d174b87a175fb3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}