# Circular table (spreadsheet like) - is it possible?

In the past, I've made a circular spreadsheet in Javascript, which can be seen in here : http://secteur-3.net/ARN-Public/ARN.html (left matrix). Each cell is bound to some data and have minimum interaction (hover as an example).

Data are numbers (1 to 1000 let's say), so it's stored in 1000 cells, but rather than having a 10x100 row/col table, it's a circular table. In this circular table/spreadsheet, each cell gets a different color attribute depending if its stored value is a prime number or not and depending on the number of divisors the value can have.

I'm wondering if I could acheive the same result with Mathematica and if so, I would like to be pointed in the right direction. I've looked at different graph options, but can't seem to find the right approach. SectorChart may visually do the trick, but "data" are only visual attributes (x,y,z) of a sector, whereas my data are numerical values that should not affect (x,y,z) - only color.

Maybe I could use labels as a placeholder for my data? Or some other programatically accessible properties of a sector?

Note: It can be a static chart/table, I do not need it to be as interactive as it is in the provided link.

Any help would be appreciated!

• How about SectorChart3D? This allows for a third dimension, which could presumably be tied into the spreadsheet data. – bill s Dec 11 '18 at 18:48
• Well, adding a dimension wouldn't help. I'm really looking to have a circular table with rows and columns with data in it - or at least assigned to each "cell" for data manipulation. On the provided link, if you click on the eye icon and then any checkbox/slider you'll see what I mean by 'manipulaiton'. – Steph Dec 11 '18 at 19:12
• Isn't that exactly what a third dimension is? There's an x-y position (around the sector) and a value associated with that position. That value would be your data, or maybe a pointer to your data. PieChart3D works similarly. – bill s Dec 11 '18 at 19:40
• OK, I must be too new then to Mathematica because for me SectorChart3D[{{x1,y1,z1},{x2,y2,z2},…}] are simply visual parameters and not data per se as in a spreadsheet i.e. accessible by row/col to retreive stored data. I must be missing something. – Steph Dec 11 '18 at 23:50
• How about Table + Tooltip(*or any other wrapper*) + Annulus ? – Kuba Dec 19 '18 at 12:03

data = Table[{a, b, a b}, {a, 1, 6}, {b, 1, 6}]