Wiki › Project

Prerequisite tree

Project · tool · 2023

Prerequisite tree draws the prerequisite relationships between university courses as a tree, so students can see which courses unlock which. It reads course data from a Google Sheet, converts it to JSON and lays it out with dagre-D3, a library for drawing directed graphs. He built it for the computer-science curriculum at Chiang Mai University.

Details

  • Anyone can update the course data by editing the spreadsheet, without touching code.
  • The project's GitHub wiki documents setup, customisation and updates.
  • Code quality is checked with SonarCloud in GitHub Actions.
  • The repository is archived. A course tree is also part of Pre3.

See also

In the knowledge graph

Prerequisite tree and the 10 things it is linked to. Open any dot for its page, or explore it in the full graph.

When
2023202420252026
May 2023 – Oct 2023 · 354 commits

As data

Everything on this page is read from triples in the knowledge graph. These are the 25 it states about Prerequisite tree, and 5 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.

Download
@prefix id: <https://ask.chaipat.cc/id/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix cj: <https://ask.chaipat.cc/ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

id:PrerequisiteTree
    a cj:Project ;
    rdfs:label "Prerequisite tree" ;
    cj:description "Visualises course prerequisite relationships as a tree from a Google Sheet, using dagre-D3." ;
    cj:context id:CMU ;
    cj:repository "https://github.com/AppleBoiy/prerequisite-tree-dagreD3"^^xsd:anyURI ;
    cj:firstCommit "2023-05-10"^^xsd:date ;
    cj:lastCommit "2023-10-16"^^xsd:date ;
    cj:commitCount 354 ;
    cj:kind "tool" ;
    cj:license "MIT" ;
    cj:archived true ;
    cj:theme id:ThemeWeb , id:ThemeTeaching ;
    cj:uses id:JavaScript , id:DagreD3 , id:GitHubActions ;
    cj:tier 3 ;
    cj:integrates id:GoogleSheetsAPI , id:SonarCloud ;
    cj:handles id:JSONFormat ;
    cj:article "https://ask.chaipat.cc/wiki/PrerequisiteTree"^^xsd:anyURI ;
    cj:activeIn id:Y2023 ;
    cj:activity _:b131 , _:b132 , _:b133 .
Works 1