Thursday, January 1, 2015

D3: Simple javascript class wrapper for Concept Map

This is a simple javascript class wrapper (in both css and js) for the Concept Map Visualization at, The interface separates json data, html element, and the actual ConceptMap class. It is modified so that it will be easier for a web developer to easily add a concept map chart into their application.

Below is the link to the source code (remember to put in in the web folder of a web server such as xamp so that the html page will be able to download the json in the same folder):

Below is the html which includes the javascript that download a json data and then display as a ConceptMap chart:


<link href="lib/concept-map.css" rel="stylesheet"></link>

<script src="lib/jquery-2.1.3.min.js" type="text/javascript"></script>
<script src="lib/d3.min.js" type="text/javascript"></script>
<script src="lib/packages.js" type="text/javascript"></script>
<script src="lib/concept-map.js" type="text/javascript"></script>

function plotConceptMap()
 d3.json("metadata.json", function(dataJson) {
  var plot = new ConceptMap("graph", "graph-info", dataJson);
padding-top: 10px;
    <div id="graph" class="conceptmap" ></div>
    <div id="graph-info"></div>


  1. You can use Creately, Concept Map Maker to draw concept maps of your choice. You can draw easily without starting from the scratch suing templates. Find these concept mapping templates to be used for free. There are 100s of templates drawn on various scenarios. Use the template by clicking on edit as diagram and adding your details to create concept maps.

  2. Any chance you can re-add the files? It's not found on dropbox. Thanks!

  3. +1 Can you please re-upload the zip file?

  4. Same files are at: