{"version":"1.0","type":"rich","title":"XML Parsing","description":"This example shows a bar chart of letter frequencies in English, parsed from an XML file. The chart displays the alphabet along the x-axis and frequency percentages on the y-axis, with teal bars that darken on hover. The code uses d3.xml to load data.xml, then traverses the XML document with the selectors API (querySelectorAll and getAttribute) to convert letter and frequency elements into JavaScript objects. It builds the visualization with d3.scale.ordinal, d3.scale.linear, and d3.svg.axis, rendering SVG rectangles for each bar.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-9dcaff88acb01059b166c968661669fe?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}