0

I Have a JSON Data which I fetched from the database using Mysql. The JSON is given Below :

[
    {
        "Country":"Australia",
        "persons":"5"
    },
    {
        "Country":"Spain",
        "persons":"2"
    },
    {
        "Country":"India",
        "persons":"8"
    },
    {
        "Country":"Mexico",
        "persons":"4"
    },
    {
        "Country":"United States",
        "persons":"4"
    }
]

What I Want is that, How Can I Color the Specific region in the Jvector Map also showing the no. of Counts that I am having.

4
  • Please show us what you've tried. Commented Mar 22, 2019 at 5:36
  • I don't have the Idea how to show the Data using PHP . Please if you have any idea . Please Share with me. Commented Mar 22, 2019 at 5:49
  • Please tell me is it Possible or NOT ? @MagnusEriksson Commented Mar 22, 2019 at 6:14
  • Before posting a question, you should have done the proper research and made attempts to solve your issue yourself. Then, if you get stuck on something specific with your existing code, come back and show us your attempt. Please read How much research effort is expected of Stack Overflow users?, How to create a Minimal, Complete, and Verifiable example and also How do I ask a good question? Commented Mar 22, 2019 at 6:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.