ChartsOrg / ChartsOrg/Charts

How to implement chart race with bar chart

Open
#4,391 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

## What did you do?

Tried to implement chart race with bar chart like below
https://www.youtube.com/watch?v=TWSm_5RU7cQ

## What did you expect to happen?

Bars need to be exchanged in animation, like the longest one stays on top in horizontal barchart .
In Horizontal bar chart,
1. Animate size of each bar with data updation(done)
2. it always sort bars based on size
3.when one bar grows bigger , animate longest one to top

## What happened instead?

Unable to animate between bars

## Charts Environment

Latest(NS)

## Demo Project

Need behaviour like this one https://www.youtube.com/watch?v=TWSm_5RU7cQ

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are mentioned. Start by examining the existing horizontal bar-chart animation and sorting behavior, then compare it with the linked chart-race example. Done means bars reorder smoothly as their values change, with the longest bar moving to the top.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data-visualization, mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.