How to create a multi dimension data using d3js?

  Kiến thức lập trình

I have a combination of dimensions to display using d3.js

What chart or graph do I use to represent data like this?

{
    "data": [
        {
            "x": 2.4,
            "y": 3.2,
            "z": 84,
            "t": 1060
        },
        {
            "x": 2.1,
            "y": -3.0,
            "z": 99,
            "t": 1140
        },
        {
            "x": 3.1,
            "y": -4.4,
            "z": 88,
            "t": 1090
        },
        {
            "x": 3.7,
            "y": -3.4,
            "z": 98,
            "t": 1190
        },
    ]
}

I have tried looking at d3 documentation but couldn’t see an example for multi dimensional data

LEAVE A COMMENT