Circular Bar Chart

Bars around a clock face for cyclical data like visits per hour; hover to read the centre.

Visits by hourSample data
00:0003:0006:0009:0012:0015:0018:0021:00362visits · 19:00
Visits by hour
00:0042
01:0030
02:0022
03:0018
04:0015
05:0020
06:0048
07:0096
08:00160
09:00210
10:00240
11:00262
12:00281
13:00270
14:00255
15:00248
16:00266
17:00302
18:00340
19:00362
20:00318
21:00240
22:00150
23:0080

Edit with AIPro

Describe a change to Circular Bar Chart and get the updated code. The live preview above stays as the original.

Quality report

Kinetiq Verified
  • Loads cleanly

    No errors on phone and desktop screens.

  • Fits a phone screen

    No sideways scrolling at 375 px wide.

  • No serious accessibility problems

    Passed the axe-core WCAG 2.1 A/AA check.

Size (gzipped)
1.9 KB
Extra packages
motion
Reduced motion
Respected

Tested automatically in Chrome 158.0.8127.36 with axe-core 4.14.1. Automated tools catch only part of all accessibility problems, so treat this as a solid minimum, not a full audit.

Installation

One command

Adds the file to components/ui/circular-bar-chart.tsx and installs motion for you.

$ npx kinetiq-ui login
$ npx kinetiq-ui add circular-bar-chart

Run login once. It needs a free account, because the code is for signed-in users only. Get your token.

Or do it by hand

  1. Install the dependencies

    $ npm i motion lucide-react
  2. Sign in, open the Code tab above and copy it into components/ui/circular-bar-chart.tsx

  3. Use it

    The file exports the component and a Demo showing typical usage. Import whichever you need.