Skip to main content

Word cloud

Word cloud screenshot

Words sized by weight inside the chart area. Use it for qualitative summaries where exact numeric comparison is less important than emphasis. The screenshot is captured from the native Fission chart gallery.

What the chart is for

Word cloud belongs to the Data pipeline and interaction family. Its job is to make this data shape readable: Label/value pairs where the label is the word and the value controls size. In a production interface, choose this chart when the visual form makes the user's question faster to answer than a table or a simpler chart would.

Avoid it when the visual form makes the user estimate more than necessary; choose the simplest chart that answers the product question.

Data model

Label/value pairs where the label is the word and the value controls size. Keep the data close to the type that describes it. Fission Charts is typed Rust, so a line uses LineSeries, a calendar heatmap uses CalendarHeatmapSeries, and chart components such as zoom, marks, and graphics are explicit fields on Chart rather than hidden string configuration.

Rust API

FieldTypeNotes
title&strNames the chart for the screen, accessibility tree, and test output.
seriesSeriesProvides the typed data model for this chart family.
width / heightf32Optional fixed size; omit them when the chart should flex inside Fission layout.

Example

use fission_charts::Chart;

let chart = Chart::new()
.title("Word cloud")
.width(720.0)
.height(480.0);

Interaction and animation

Charts can emit typed ChartInteractionEvent values when interaction is enabled. Handle those events in a reducer when the app needs hover, press, release, scroll, selection, or brush behavior. ChartAnimation stores duration, delay, stagger, easing, and reduced-motion behavior as deterministic chart data, so animation timing can be tested instead of being hidden in ad-hoc timers.

Testing guidance

For this chart, test the data mapping first, then test lowering, then capture a live screenshot when visual output changes. The screenshot for this page is refreshed with npm run charts:generate from the website package.

Tags: wordcloud, text.

Data pipeline and interaction family overview