{"version":"1.0","type":"rich","title":"Bar Chart with Negative Values","description":"This bar chart displays both positive and negative values from a small dataset, with positive bars in steelblue extending right from the zero line and negative bars in darkorange extending left. It uses two D3 v3 scales: a linear scale for the x-axis positions and an ordinal scale with rangeRoundBands for vertical band placement. The code computes bar widths using the absolute difference between scaled values and zero, and positions each rectangle’s x-coordinate at the minimum of zero and the data value. An axis is rendered at the zero position, and data comes from a TSV file loaded via d3.tsv.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-926f41992249b7b715475c20a78fac9c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}