{"version":"1.0","type":"rich","title":"Horizontal Bar Chart Sort","description":"A horizontal bar chart displays letter frequencies from a TSV data file, with bars sorted ascending by frequency value. The visualization uses D3 v4’s `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis, rendered as SVG rectangles. The code applies `d3.axisTop` and `d3.axisLeft` for axes, and bars change color on hover. The data is loaded via `d3.tsv` and sorted using a comparison function on the frequency field.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-e43fb8ac909f9d1a1017f97e18f6dac2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}