{"version":"1.0","type":"rich","title":"Using d3-tip to add tooltips to a d3 bar chart","description":"This example shows a d3.v3 bar chart of letter frequencies in English, loaded from a TSV file, with interactive tooltips that display each bar’s exact frequency on mouseover. The chart uses ordinal and linear scales for positioning, SVG rectangles for bars, and axis components for the x and y scales. Tooltips are added via the d3-tip library, which attaches a styled HTML tooltip to each bar through the `tip.show` and `tip.hide` event handlers, with a custom `html` function formatting the displayed value.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-d7a90cc03d3e1bddffa5569cae11490d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}