Code Monkey home page Code Monkey logo

ashbychart's Introduction

Ashbychart

Implementing Interactive Ashby charts in Highchart.Js

Introduction

An Ashby plot, named for Michael Ashby of Cambridge University, is a scatter plot which displays two or more properties of many materials or classes of materials. These plots are useful to compare the ratio between different properties. For the example of the stiff/light part discussed above would have Young's modulus on one axis and density on the other axis, with one data point on the graph for each candidate material.

Documentation

The repository contains the following files:

  • index.html - The main file which contains the code for the interactive Ashby chart.
  • script.js - The javascript file which contains the code for the interactive Ashby chart.
  • hull.js - The javascript file which contains the code for the convex hull generation.
  • style.css - The css file which contains the code for the interactive Ashby chart.
  • ashby.json - The json file which contains the format of data for the interactive Ashby chart.
  • README.md - The file which contains the documentation for the interactive Ashby chart.

Usage

  • First all datasets are loaded.
  • By default, tooltip is set to off
  • It can be enabled/disabled with the help of the buttons provided
  • If you wish to see the interior of the material, click on it's area and if it's subsections exist, the chart will go the level of that particular material
  • To return to the main graph, click on any whitespace of the graph

Usage as a Library-

  • To import and use this as a library, simply import the hull.js file, it contains all functions.
  • To use the functions, simply call them with the required parameters.
  • The script script.js contains data manipulation and tree formation functions.

Doc Link: https://docs.google.com/document/d/1CAJH9NWZAC2goQGTwULM6Nc4bDnjJxgNXhQ9lVKRZC0/edit#heading=h.5vljv2wyg7np The project is statically hosted on: https://abhiraj-mengade.github.io/Ashbychart/

ashbychart's People

Contributors

abhiraj-mengade avatar

Watchers

 avatar

Forkers

jrathore

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.