Build a simple Javascript 3D cube function

This project received 8 bids from talented freelancers with an average bid price of £194 GBP.

Get free quotes for a project like this
Employer working
Project Budget
£20 - £250 GBP
Total Bids
Project Description

I require a simple function that will take an X,Y,Z grid of JSON data and represent it in a 3D cuboid

The 3D model should be able to be rotated easily and look very similar to this:-

[url removed, login to view]

Other that instead of bars, there is a single cube for each x/y/z position.

i.e. If I provided the following data, I should see a 3w x 3l x 1h cuboid with top-left on a red cube showing "fred", top-right showing "fred" on orange and middle-left showing "bert" on a blue cube.

It should allow 'n' entries on x/y/z and assume and empty cube (with transparent colour) if data isn't present for that individual cell.

It must be in pure Javascript/Jquery, and not require massive external libraries (like [url removed, login to view]), but can use/leverage [url removed, login to view] as we are already using that.

x y z label color


1 1 1 fred red

1 2 1 - -

1 3 1 fred orange

2 1 1 bert blue

2 2 1 - -

2 3 1 - -

3 1 1 - -

3 2 1 - -

3 3 1 - -

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online