No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Markov-Chain Applet

Developed by So yeun (Ashley) Cho ( and Laura Breiman ( Mentor: Robert Miller (

======= General Description: This applet, using a particular lego game example, helps students visualize how a Markov chain transitions the probability distribution of each state in discrete time. It also helps students to understand the application of Bayes' Theorem in updating the probability distribution. For use in the MIT class 6.01(Introducation to Electrical Engineering and Computer Science) to understand Markov chain and Bayes' Theorem.

Uses: Bootstrap, Javascript, CSS, jQuery, d3

To view the demo:

======== To insert the applet in your own web page, follow these steps:

  1. Clone our GitHub Repository so that you have access to our files. (

  2. Then, add the following HTML code to the head of your own code, and insert a div with class "markov" in the body of your html:

     <script src=""></script>
     <script src=""></script>
     <script src="bootstrap/js/bootstrap.min.js"></script>
     <script src="" charset="utf-8"></script>
     <script src="calculate.js"></script>
     <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
     <link href="" rel="stylesheet">
     <link href="markov.css" rel="stylesheet">
     <link rel="stylesheet" href="" />
     <div class = "markov"></div>