Giter Site home page Giter Site logo

vidhanvyrs / chartbasicapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 338 KB

Created(in 2 days) this basic project as an assignment given by StakeHub Infotech to get into interview with them. It is a basic chart application connected to a firebase backend where the user can upload the date and value of the commodity and the state gets updated instantly ๐Ÿš€๐Ÿ˜„๐Ÿ‘€

Home Page: https://chart-basic-app.vercel.app/

HTML 12.59% CSS 29.91% JavaScript 57.50%
css firebase reactjs recharts-js responsive-design rest-api

chartbasicapp's Introduction

MyCommodityPriceChart

Introduction

Welcome to MyCommodityPriceChart! This React application is designed to provide users with insightful commodity price data through an interactive and responsive AreaChart powered by Recharts. Whether you're monitoring commodity prices for investment decisions or just exploring market trends, this app has you covered. MyCommodityPriceChart offers various features to enhance your data visualization experience.

Key Features

  • Interactive Data Visualization: MyCommodityPriceChart employs a responsive AreaChart that allows you to explore commodity price data with ease.

  • Time Range Filtering: Analyze data within your desired time frame by selecting from three distinct options: Last 1 Month, Last 24 Hours, or Last 7 Days.

  • Data Input and Tracking: Users can contribute to the dataset by adding new data points through a user-friendly input form. This feature enables you to maintain an up-to-date record of commodity prices.

  • Effortless Date Selection: Use the date picker to conveniently select dates for new data points.

  • Responsive Design: MyCommodityPriceChart adapts to various screen sizes, ensuring a seamless experience across devices.

Prerequisites

Before you begin, please ensure that you have the following prerequisites installed on your system:

  • Node.js (version 14 or higher)
  • npm (version 6 or higher)

Installation

To set up MyCommodityPriceChart on your local machine, follow these steps:

  1. Clone the repository to your local machine:

    git clone <repository_url>
  2. Navigate to the project directory:

    cd <project_directory>
  3. Install the project dependencies:

    npm install

Usage

To launch the application and start exploring commodity price data, perform the following steps:

  1. Initiate the development server:

    npm start
  2. Open your preferred web browser and navigate to http://localhost:3000 to access the MyCommodityPriceChart application.

Adding Data

Enhance the dataset by adding new data points to the chart:

  1. Click the "Add Input" button to open an intuitive popup.

  2. Input the date and value for the new data point.

  3. Click the "Add Data" button to seamlessly integrate the new data into the chart.

Filtering Data

Effortlessly filter data to match your analytical needs:

  1. Utilize the dropdown menu to select your preferred time range: Last 1 Month, Last 24 Hours, or Last 7 Days.

  2. Observe as the chart dynamically adjusts to display data within the selected time frame.

Data Sources

  • The initial dataset for the chart features randomly generated values over the past 30 days.

  • Data is stored and retrieved from a Firebase Realtime Database using Axios, ensuring reliability and real-time updates.

Dependencies

  • Recharts: Used for creating interactive and visually appealing charts.

  • date-fns: Employs date manipulation functionalities for precise data analysis.

  • Axios: Utilized for seamless data fetching and management.

  • Modal: Enhances the user experience by presenting the input form as a modal.

Credits

MyCommodityPriceChart was meticulously crafted by [Your Name] as a showcase of data visualization excellence using React and Recharts.

License

This project is licensed under the MIT License. For additional details, refer to the LICENSE.md file included in the project repository.

Feedback and Support

We appreciate your interest in MyCommodityPriceChart. If you encounter any issues, have suggestions for improvements, or require assistance, please don't hesitate to reach out to me at [email protected].

Happy charting, and may your commodity price analysis be both informative and rewarding!

chartbasicapp's People

Contributors

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