Skip to content

Bar-chart#3

Merged
codingdesigner merged 21 commits intomainfrom
bar-chart
Sep 2, 2024
Merged

Bar-chart#3
codingdesigner merged 21 commits intomainfrom
bar-chart

Conversation

@codingdesigner
Copy link
Copy Markdown
Owner

🛠️ app/components/BarChart/BarChart.tsx -> Added SVG clearing code
🛠️ app/components/BarChart/BarChart.tsx -> Improved type casting
🛠️ app/components/BarChart/BarChart.tsx -> Dynamically set Y-axis domain
🛠️ app/components/BarChart/BarChart.tsx -> Updated bar selection name

🛠️ app/pages/line-plot/page.tsx -> Updated title text
🟢 app/components/BarChart/BarChart.stories.tsx

🟢 app/components/BarChart/BarChart.tsx

🟢 app/components/BarChart/index.ts

🟢 app/components/BarChart/tests/BarChart.test.tsx
…emoved commented code, and simplified main tag.
🛠️ app/components/BarChart/BarChart.tsx -> Implemented useEffect
🛠️ app/components/BarChart/BarChart.tsx -> Added useRef for SVG
🛠️ app/components/BarChart/BarChart.tsx -> Added D3 chart setup
🛠️ app/components/BarChart/BarChart.tsx -> Added CSV data parsing
🛠️ app/components/BarChart/BarChart.tsx -> Added X and Y axes
🛠️ app/components/BarChart/BarChart.tsx -> Added bar rendering
…red data type conversion, and fixed non-null assertion.
🛠️ app/layout.tsx -> Removed Inter font import
🛠️ app/layout.tsx -> Removed Inter font initialization
🛠️ app/pages/bar-chart/page.tsx -> Removed d3 import
…arChart

🛠️ app/components/BarChart/BarChart.tsx -> Minor comment text capitalization

🛠️ app/components/BarChart/BarChart.tsx -> Enhanced SVG selection description comment

🛠️ app/components/BarChart/BarChart.tsx -> Expanded CSV data parsing comment

🛠️ app/components/BarChart/BarChart.tsx -> Added TypeScript ignore comments

🛠️ app/components/BarChart/BarChart.tsx -> Added stroke and stroke-width to bars
…rts and code

🛠️ app/components/BarChart/tests/BarChart.test.tsx -> Commented out imports and code
🛠️ app/components/LinePlot/LinePlot.stories.tsx -> Commented out imports and code
🛠️ app/components/LinePlot/tests/LinePlot.test.tsx -> Commented out imports and code
🛠️ app/components/Menu/Menu.stories.tsx -> Commented out imports and code
🛠️ app/components/Menu/tests/Menu.test.tsx -> Commented out imports and code
🟢 app/components/BarChart/data/countries.json
🛠️ app/components/BarChart/BarChart.tsx -> removed CSV data fetching
🛠️ app/components/BarChart/BarChart.tsx -> used JSON data for chart
🛠️ app/components/BarChart/BarChart.tsx -> Added SVG clearing code
🛠️ app/components/BarChart/BarChart.tsx -> Improved type casting
🛠️ app/components/BarChart/BarChart.tsx -> Dynamically set Y-axis domain
🛠️ app/components/BarChart/BarChart.tsx -> Updated bar selection name
@codingdesigner codingdesigner merged commit 933b3a3 into main Sep 2, 2024
@codingdesigner codingdesigner deleted the bar-chart branch September 2, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant