Coder Social home page Coder Social logo

sunburst_extension's Introduction

sunburst extensions

add customizations to sunburst d3 graph

The purpose of this repository is to add to base d3 Sunburst graph https://bl.ocks.org/kerryrodden/7090426. Instead of processing csv file to json on-the-fly in javascript, this is moved back to preprocessing script in python. I simply did this to reduce the complexity of the javascript file, given I have added some custom functions there. In addition to this, I have added drop down options, so the sunburst automatically filters the data on the fly. This is useful if you want to add another dimension to the view e.g. multiple kpi measures. There is also a function which resizes the different kpis, based on a scale value. If you want to update the file with your own data, there are a few places to change static text values i.e. "KPI One - Count". If you want to use this feel free. Gist for this repo can be found here http://bl.ocks.org/DouglasFletcher/34dd743e9c9c9f8d8926dcc126158330 (https://gist.github.com/DouglasFletcher/34dd743e9c9c9f8d8926dcc126158330)

sunburst_extension's People

Contributors

douglasfletcher avatar

Stargazers

 avatar

Watchers

 avatar

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.