Git Product home page Git Product logo

demographymap's Introduction

Demographic research map

This plot shows a few thousand of the most important authors and papers from some important demographic journals. The position is determined by an algorithm that places similar titles close to each other. The size of the node represents the number of citations.

How to use:

  • Use the search box to find an author or a paper
  • Use the mouse wheel or two fingers to zoom in and out

Details

The data was downloaded from Open Alex on 2024-01-08. I included all articles from the journals Demographic Research, Demography, Population Studies, Population and Development Review, Population and Policy Review, Population, Population space and place, European Journal of Population, Population Studies and Genus. But since 30 thousand authors and 40 thousand papers are too much for a browser, I kept only 4500 authors and 4000 papers, based on their last publication year and the number of citations.

</p>
<p>
  I used <a href="https://www.sbert.net/">SentenceTransformers</a> and the model
   <a href="https://huggingface.co/thenlper/gte-small">thenlper/gte-small</a>
  to create text embeddings of the titles of the articles.
  Text embeddings are vectors with hundreds or thousands (in this case 384) of dimensions that 
  represent the meaning of a text. Similar texts have similar embeddings.
  Then I used <a href="https://umap-learn.readthedocs.io/">UMAP</a> to reduce the 
  dimensionality of the embeddings to 2 dimensions. 
  The placement of the articles in the plot is based on these 2 dimensions, 
  no citation information is used for the placement.
  For the authors I averaged the embeddings of all their articles and then used the same UMAP model again.
  <br/>
  The size of the nodes is based on the number of citations.
  <br/>
  The color of the nodes is based on the year of the last publication.
  <br/>
  I used the Javascript library <a href="https://github.com/vasturiano/force-graph">force-graph</a>
  to paint the nodes on the canvas.
  But I had to optimize the painting a bit so that nodes outside of the visible 
  area are not painted and the text is only painted if you zoom in enough.
  <br/>
  The inspiration came from a 
  <a href="https://bsky.app/profile/ikashnitsky.phd/post/3khedvmcu4y23">social media post</a>
  by Ilya Kashnitsky which plots the 50 most prolific authors in demography. Why limit us to 50 when we can show 4500?

  </p>
  If you have any questions or suggestions, please get in touch at <a href="mailto:[email protected]">[email protected]</a>
  <p>The code can be found on Github: <a href="https://github.com/tomthe/demographymap">github.com/tomthe/demographymap</a>

  </p>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.