Giter Site home page Giter Site logo

react-native-d3-graph's Introduction

React Native & D3 DemoGraph Application

Demo expo link.

Features

The project demonstrate the usage of React with D3 liberty for React-Native. The base project is React & D3 which is a web project. The challenge here is that D3 is DOM based, so some features would have to implemented in another way due to limitations of native project and the lack of the DOM. The following demo application presents a bar chart. The Y axis represent an amount of some productivity while the X axis represents a month. The chart also displays average line while interactive by the user. It also has dragging features. Once the data is ready to be displayed a fade animation is used. Another feature is that on press of a single bar the color opacity should be changed to focus the user on the column. The user can always click on a bar to show the data.

alt text

Stack

In the project project the following technologies have been used.

Code
  • D3 (scaleLinear, path etc')
  • SVG The SVG support
  • React Hooks (useEffect, useState, Custom Hooks)
  • React Context - USed to store the common parts (scales, data)
  • Animations Used react-spring animations (animated.rect, useSpring etc');
Style
  • The styling here is minimal, the containers and text nodes are styled using styled-components

react-native-d3-graph's People

Contributors

dependabot[bot] avatar zmtmaster avatar

Watchers

 avatar  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.