hn.today

Largest 2D Chart library in the world using BUI: BlenderUI

bui.preetham.top135 points41 comments
Screenshot of Largest 2D Chart library in the world using BUI: BlenderUI

BUI Charts is a charting component library for BlenderUI, built for Rust applications and presented as a collection of 80 chart types with 867 runnable examples. It includes seven foundational charts, such as XY, bar, gauge, and graph, alongside 73 derived forms covering time series, statistical displays, maps, matrices, flow diagrams, scientific plots, and specialized finance and engineering visuals. The documentation helps users browse every chart, choose a visualization based on the question they want to answer, or explore charts tailored to fields such as biology, electronics, and earth science. The library is installed from the BUI Git repository using Cargo.

Charts are written as ordinary components in BUI’s RSX syntax and can consume vectors, signals, or other data implementing the Dataset interface. Small accessor closures select values from each row, so data need not be reshaped to match a chart; signal updates trigger redraws. Shared features include hover tooltips that emphasize a series, clickable legends that hide series and rescale the chart, and wheel or pinch zoom and range selection where appropriate. Charts inherit the active theme’s colors, including custom palettes. To keep interaction efficient, layouts are cached and recalculated only when data, dimensions, visibility, or theme changes - not when the pointer merely hovers. The documentation also provides previews of featured options such as Mekko, Sankey, heatmap, candlestick, flame graph, and ternary charts.

Read on bui.preetham.top41 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.