Vertical bar chart with animated entry #7

Closed
opened 2026-11-01 23:21:16 +00:00 by Weissstreifen · 0 comments

The first chart, and the reference for the look.

Look (from the reference sketch in the issue thread): each bar is a stretchable sprite with a 2 art pixel black outline, a light highlight band on the left, the base color in the middle, a dark shade band on the right, a black cap on top and a wider base plate at the bottom that stands on the baseline. The sprite comes from assets/bar.png (cap / body / base, drawn in grayscale and tinted per series, see the primitives issue), reloads when it changes, so it can be drawn in Aseprite.

Animation: bars rise from the baseline to their value, staggered from left to right, with an ease-out and a small overshoot that settles (theme values). The value label above each bar counts up with it and lands on the exact value.

  • Axis with ticks and gridlines that come in before the bars. Nice tick steps (1/2/5 x 10^n), number formats (1.2k, 3.4M, %, units).
  • Category labels under the bars, colors per bar or per series.
  • Layout fits the element's box: bar width and gap from the count.

Done when: a 10-row CSV gives a bar chart that animates in and looks like the sketch.

The first chart, and the reference for the look. **Look** (from the reference sketch in the issue thread): each bar is a stretchable sprite with a 2 art pixel black outline, a light highlight band on the left, the base color in the middle, a dark shade band on the right, a black cap on top and a wider base plate at the bottom that stands on the baseline. The sprite comes from `assets/bar.png` (cap / body / base, drawn in grayscale and tinted per series, see the primitives issue), reloads when it changes, so it can be drawn in Aseprite. **Animation:** bars rise from the baseline to their value, staggered from left to right, with an ease-out and a small overshoot that settles (theme values). The value label above each bar counts up with it and lands on the exact value. - Axis with ticks and gridlines that come in before the bars. Nice tick steps (1/2/5 x 10^n), number formats (1.2k, 3.4M, %, units). - Category labels under the bars, colors per bar or per series. - Layout fits the element's box: bar width and gap from the count. **Done when:** a 10-row CSV gives a bar chart that animates in and looks like the sketch.
Weissstreifen added this to the M2 Charts milestone 2026-11-01 23:21:16 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Weissstreifen/daviz#7
No description provided.