0

I'm looking at an interactive map that allows me to set a filter (button "Select Markets") and then places dots on the map which give summary data when I hover the mouse over a dot or detailed information when I click on one. I would like to access the data behind this map.

In Firefox, I pressed F12, clicked on "Inspector", and drilled down to body > article > div > div > div > div > div class="map". In there, I find a whole lot of data that appear to relate to mouse actions, but I don't find any of the data that are displayed when performing those actions. Is there a way to access the data?

2
  • 1
    Look at data.json file. There are a bunch of javascript files, but data appears to be in that file. Commented Jun 12, 2021 at 0:35
  • @StainlessSteelRat - Bingo! Please post that as an answer, so I can accept it. (Interesting: I saw a JSON file yesterday and looked at it, and it didn't seem to contain the data. But now, looking again, I see "/assets/js/data.json", and it does appear to contain all the data of the map. It's definitely not the same JSON file I saw yesterday, but it's the only JSON file linked in the HTML of the page, so I don't know what's going on. But I got the data, so thank you.)
    – NewSites
    Commented Jun 13, 2021 at 5:09

1 Answer 1

1

The data is in a file data.json. Data format:

{
"name": "NASDAQ OMX BX (BEX)",
"country": "US",
"instruments": [
  "Stocks",
  "AtlasTrader",
  "ArcticTrader",
  "Maybank"
]
},

There are many levels to that web site, so I'd expect multiple JSON files. You just have to know where to look.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .