Worked Example: Graphical Data Exploring of the Elements

Here we do a small exercise to get a graphical representation of which Crystal Structures the elements form, and represent the frequency of each type. First we create a list of known elemental crystal structures for the first 100 elements.

"index_71.gif"

"index_72.gif"

We manipulate our data to remove missing data (using Cases), and then use Tally to find how many times each Crystal structure appears.  We assign the results to a varialbe that we can use later to plot.

"index_73.gif"

"index_74.gif"

"index_75.gif"

Here is a bar chart showing the frequency of crystal structures. We had to manipulate the data (with Transpose) to get the numbers of each type and to get a list to hand to the Option BarLabels.

"index_76.gif"

Graphics:None

We do the same thing, but with a pie chart.

"index_78.gif"

Graphics:None

As a last example, we produce a 3D histogram. The height of each bar corresponds to the number of elements in a range of melting points and range of densities.  We have to manipulate the data a bit to remove elements that have missing melting point OR density data.

"index_80.gif"

"index_81.gif"

Graphics:None


Created by Wolfram Mathematica 6.0  (28 August 2007) Valid XHTML 1.1!