CHT-009
Bar chart race
- Each month the bars slide and swap places.
Make a horizontal bar chart race from a table whose first column is the month and the other columns are items. Values blend smoothly between months, and when ranks change the bars slide up or down. Show the current month large and faint in the bottom right.
[paste your table here]
The first row is the header. Put CSS and JavaScript in a single HTML file and draw with canvas or SVG, without external libraries. Dark background, crisp numbers and text, and no overlapping text even at phone width. If prefers-reduced-motion is on, show the finished chart without motion.첫 열은 월, 나머지 열은 항목인 표로 가로 막대 경주 차트를 만들어 주세요. 값은 달 사이를 부드럽게 이어 가고, 순위가 바뀌면 막대가 위아래로 미끄러져요. 오른쪽 아래에 지금 월을 크고 흐리게 보여 주세요.
[여기에 표 붙여넣기]
첫 줄은 머리글이에요. HTML 파일 하나에 CSS와 JavaScript를 넣고, 외부 라이브러리 없이 canvas나 SVG로 그려 주세요. 어두운 배경에 숫자와 글자는 또렷하게, 휴대폰 폭에서도 글자가 겹치지 않게 해 주세요. prefers-reduced-motion이 켜져 있으면 움직임 없이 다 그려진 차트를 보여 주세요.Blanks
How to use
- Borrow (copy) the prompt.
- Replace the [brackets] with your own content. Type in the fields below and it updates at once.
- Paste it into a new Claude chat and open the HTML file it returns in a browser.
Process
- A scene from the guide "Animated data charts with Claude".
- The preview is drawn on this site to show the scene this prompt makes.







