Skip to content

lsstdarkmatter/dark-matter-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSST Dark Matter Graphic

This web application uses D3.js to visualize the intertwined elements about probing the nature of dark matter with LSST.

The design concept largely comes from coversations between @kadrlica, @aimalz, and @yymao during the 2017 LSST DESC Sprint Week at ANL (see the discussions in #9, #10, #11, #13, and this table in LSSTDESC/LSSTDarkMatter), and also their conversations with @sazabi4 and @wadawson.

Current web app development is led by @yymao with content curated by @kadrlica. We hope to see more contribution from the community.

Click to see the network diagram Click to see the adjacency matrix
Click to submit a new idea

Local Installation

Below are local installation instructions for developers.

  1. Clone this repo:

    git clone https://github.com/lsstdarkmatter/dark-matter-graph.git
    cd dark-matter-graph
    

    Or update your local clone if you already have one:

    cd dark-matter-graph
    git pull
    
  2. (Optional) Edit data/data.yaml, and then convert it to the json file by running:

    data/prepare_data.py
    

    (See this readme to learn more the format of data.yaml and data.json.)

    Note: this step is slow because it connects to ADS online to resolve references. To speed things up for testing purposes, add option --no-ads to the command.

  3. Start a Python http server:

    ./server.py
    

    If the page loads slowly, or does not load the most up-to-date version, try pressing ctrl + shift + R (or cmd + shift + R on a Mac) in your browser.