Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project Brand vs. Average Cost Bar Chart

Public visualization

Project Brand vs. Average Cost Bar Chart

0 stars0🌍 Public
Cchsaisriharsha@gmail.com
Last edited Jul 23, 2023
Created on Jul 18, 2023
Forked from Activity8_Task2

This bar chart compares average project costs across different brands, using horizontal bars whose widths correspond to dollar values. The example demonstrates a simple client-side rendering approach: JavaScript parses a hardcoded data object (with placeholder values like “Brand A: $123.45”) and dynamically creates styled `div` elements, each with a width set to twice the cost, appended to a container styled via CSS. The included `index.js` shows a separate, incomplete CSV-processing pipeline using `fs` and `csv-parser` to calculate averages, but that logic is not connected to the chart’s rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed