Giter Club home page Giter Club logo

ckanext-dataviz's Introduction

ckanext-dataviz

CKAN Data Visualization plugin (Work in Progress)

https://user-images.githubusercontent.com/9320644/97192660-1f413100-17ce-11eb-9530-37d63dfa83a2.png

Requirements

Tested with CKAN Version 2.6 and 2.8

Installation

To install ckanext-dataviz:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Clone repository and install the ckanext-dataviz Python package into your virtual environment:

    python setup.py install
    
  3. Add dataviz_view to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

  4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload
    

Configuration

ckanext-dataviz has inbuilt themes integrated. To use one, add dataviz_theme to the ckan.dataviz_theme settings in your CKAN config file. If not provided, then it will take default theme. In case if theme is not found, then it will show: "Internal Server Error" in views section

Adding your own custom theme

There are mainly 2 steps for adding any custom theme:

  1. Add theme name in /dataviz/public/resource.config along with all the resources you want theme to load
  2. Add all relevant css/js files in their respective places inside /dataviz/public/ directory anywhere. By default we personally use theme directory inside public for custom styles.

Development Installation

To install ckanext-dataviz for development, activate your CKAN virtualenv and do:

git clone https://github.com/justicehub-in/ckanext-dataviz.git
cd ckanext-dataviz
python setup.py develop

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.