Add data-viz modules, add components to index, add recharts to package.json #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Demo: Here
This pull request introduces a new
BarGraph
component and aLineBarGraph
component, along with their corresponding styles. It also updates thepackage.json
to include therecharts
library. The main changes include the addition of new components for displaying bar graphs and line-bar combination graphs, and their associated styles.New Components and Styles:
BarGraph Component:
BarGraph
component with customizable properties such asdata
,xAxisKey
,yAxisKey
,barColor
,size
,blur
,title
, and more.CustomTooltip
for theBarGraph
component to display detailed information on hover.BarGraph.module.scss
with styles for the graph container, tooltip, and blur effects.LineBarGraph Component:
LineBarGraph
component that combines line and bar charts with customizable properties likedata
,xAxisKey
,lineDataKey
,barDataKey
,lineColor
,barColor
,size
,blur
,title
, and more.CustomTooltip
forLineBarGraph
to show detailed data points on hover.LineBarGraph.module.scss
with styles for the graph container, tooltip, and blur effects.Package Updates:
package.json
to include therecharts
library for rendering charts.Additional Styles:
LineGraph
component to enhance its appearance, including container, tooltip, and grid styles.