Giter VIP home page Giter VIP logo

ad3lie's Introduction

ad3lie

ad3lie is an open-source application and package for creating elegant and responsive data visualizations built with React and D3.

The focus of this application is to generate user customized charts that can be used in any React project.

Installation

Download ad3lie Application

Begin by downloading the app from our website.

After opening the app, choose which graph to create. Don't worry, if you decide to chose another graph, simply click on the home button and choose another graph from the home page. All of your input data will be saved for the duration of the application's life span.

Input the required fields (i.e. Data, xKey, and yKey) and adjust the graph based on the inputs given

Click the export button and select the file directory of your project for both the data file and React component.

Install ad3lie Package

Downloading ad3lie will include other necessary dependencies in order to generate your data visualizations. This allows for the use of the React component exported from the ad3lie application.

Simply download the npm package

npm i ad3lie

OR

yarn add ad3lie

From here, import the React component as a child component.

import Chart from "./file/path/to/component"

From here, simply use the componet as you would any other child component in your React app.

Happy visualizing! <|^o^|>

Documentation

For more detailed information, please check the related package documentation or go directly to our npm package.

How to Setup React App

Make sure to install these npm packages

npm i d3
npm i postcss
npm i postcss-loader
npm i autoprefixer

tailwind.config.js

module.exports = {
  content: ["./client/src/**/*.{html,js}"],
  theme: {
    extend: {},
  },
  plugins: [],
}

webpack.config.js

const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = (env) => {
  return {
    mode: env.mode,
    entry: './client/src/index.js',
    output: {
      path: path.resolve(__dirname, 'client', 'build'),
      filename: 'bundle.js'
    },
    module: {
      rules: [{
        test: /\.jsx?/, 
        use: {
          loader: 'babel-loader',
          options: {
            presets: ['@babel/preset-env', 
            '@babel/preset-react'],
             targets: {chrome: "100"}
            
          }
        }
      },
      {
        test: /.+\.css$/i,
        // exclude: /node_modules/,
        use: [
          'style-loader', 
          'css-loader', 
           {
             loader: 'postcss-loader',
             options: {
               postcssOptions: {
                 plugins: {
                  tailwindcss: {},
                  autoprefixer: {},
                }
               }
             }
           }
          ]
      }
    ]
    },
    resolve: {
      extensions: ['', '.js', '.jsx'],
      alias: {
        'react': path.resolve(__dirname, 'node_modules/react'),
      }
    },
    
    plugins: [new HtmlWebpackPlugin({
      template: './client/src/index.html'
    })],
    devServer: {
      static: './client/build',
      port: 8888
    }
  }
}

Checkout our website to see incoming features, how to get involved, and meet our team!

ad3lie's People

Contributors

antonioclimbs avatar jukim98 avatar katathay avatar michael-teifel avatar sophiachiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ad3lie's Issues

Line chart is not in order

Line chart currently goes through all the data in order, and does not automatically organize the data, causing weird shapes

hi kat

also hi sophia/ju/antonio/michael

Cannot change input data

Currently, the preloaded data cannot be modified. Some properties can be adjusted, but not deleted. Might be related to multiple re-renders

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.