cpt111 Principles of Programming

Data visualization involves the use of graphical elements and structures to represent and communicate data patterns, relationships, and insights. Diagrams are visual representations that can simplify complex data, making it easier for viewers to understand and analyze information. Data visualization using diagrams serves several
purposes such as Data Exploration, Data Presentation, and Pattern Recognition.
You must choose one type of diagrams in this coursework:
1. Bar Charts , a simple visualization for a standard mark ( max 70 marks ).
2. Sankey Diagrams , a more complicated visualization for a higher mark ( max 100
marks ).
For the remainder of this task sheet, we will explain how the Sankey Diagram will be graded, with a maximum coursework score of 100 marks. The marks for bar graphs will be adjusted proportionally , with a maximum coursework score of 70 marks.
Bar Charts
A bar chart is a graphical representation used in data visualization to display
categorical data with rectangular bars. Each bar's length or height corresponds to the value it represents, making it easy to compare and analyze data across different categories. Bar charts are widely used in various fields to convey information effectively, such as the amount of investment, sales and profit over the years.
cpt111 Principles of Programming_第1张图片
To create a bar chart from a data file, you will need to specify the categories, set up the chart's axes, and customize its appearance with titles or legends.
Sankey Diagrams
A Sankey diagram is a diagram that represents the flow of quantities or values within a system. It uses arrows or lines to represent the flow of these quantities. The width of the arrows or lines is proportional to the quantity being transferred, to visualize the relative magnitudes within the system. This diagram can also be adapted to show how a whole quantity or a source value is divided into different categories.
cpt111 Principles of Programming_第2张图片
For example, in the diagram above, a budget of $2,025 is divided among categories such as taxes, housing, food, transportation, health care, and other necessities.

你可能感兴趣的:(java)