Interactive Knife Steel Database & Graph

Joined
Apr 10, 2000
Messages
3,794
Hi All,

In short the goal was to create the knife steel composition database. There's plenty of the steel tables on the net, but what I wanted was a good interactivity. In general it's pretty difficult to compare 2 steels when they are pages apart. or simply have the table with just the few steels I'm interested in.
Thus, the result was the largest project for my site, which can be broken into two separate, but connected parts:

Interactive Knife Steel Database. Which in essence is the same table, but also has filters which allow to select only the steels with particular name patterns (e.g. steels starting with CPM or having '12' anywhere in the name) or certain composition. E.g. display steels which contain Niobium or Nitrogen, or alternatively display the steels that have between 1% and 1.5% carbon, only Japanese steels, or only Powder Metallurgy, etc... It can get pretty complex, but it's quite flexible.

Table contains composition of the alloys, their origin (when known), technology used(CPM, PM) and few other things. Detailed info on the columns is in the help file of the page.

Table can be sorted by any column in ascending or descending direction. Steel names marked with * have attached notes, which can be seen when moving mouse over the name. To hide the sticky again hit the Esc key or click the mouse outside of the sticky or click the close button on the sticky.

Filters button opens up the form where all the query settings can be specified and table will be rebuilt with those settings.

Elements button displays detailed information about the chemical elements used in the alloys and their purpose/effect in the alloys.

Help - Well, self explanatory.

Graph - Builds graph based on the current selection in the # column. Up to 7 steels can be selected to build the graph.

# column is used to mark up to 7 alloys for comparison. Just select particular alloys and click the Graph button. Which brings us to part 2.

Steel analyzer/comparator graph. Basically it's a graph to compare several steel compositions. It's a lot easier on the image than in the table. The link here shows comparative chart of A2,M2 and CPM M4.
The graph builder retrieves selected steel data from the database and then groups each element values for the alloys.

Bars are grouped by chemical elements, each bar in the group represents value from an alloy in the selection. Color coding is the same for all groups of the single graph.
For the data where specification allows variance, i.e. 0.6%-0.8% C, the bar is darker color from 0 to 0.6% and then lighter color from 0.6% to the top, which is 0.8% to indicate the interval.

You can add/remove alloys form the graph using the Analyze Steel edit control on the graph page. Steel names are separated by , and it also features "autosuggest". start typing and the list of matching steels appears below, i.e. if you type C all the steels starting with C are shown, as you type more results become more refined. Also, since there are several names in that control, whatever is after the last coma will be used for autosuggest.

By default only more common chemical elements are shown on the graph, but you can fully control what elements the graph displays by clicking More button and selecting/removing chemical elements in there.
Then click the Build button to rebuild the graph.

Graph engine is relatively smart and tries to maximum number of information and distribute space evenly. Therefore the number of alloys you choose and the number of the elements are both affecting the graph. It can display 7 steels with default set of elements, but if you pick all the elements, there will not be enough space for all 7 steels and the last 3 will be dropped.

Well, I did try to make it simple to use, but as the features add up it's not easy to keep things simple.

Requirements:
Browsers - IE 7 or higher. FireFox, Kameleon, Chrome, etc. Sorry, no energy or will to mess with IE6 or older. Too different and old at that.
Javascript - It has to be enabled. Otherwise most of the interactivity is gone.


Also, I want to say thanks to DRsharpening, Watercrawl, Larin, thombrogan, Koki, Watanabe and many other folks from her eand other forums who helped with info, feedback and advices.

All the feedback, bug reports, improvement requests or ideas are welcome.

Please help with completing/expanding the database.
If you have composition or any other info about a steel not in the database please let me know and I'll update the db.
Especially welcome is the help with the missing information. if you find invalid data or if you know the real value of the ? in the table please let me know.
Also, for most of the steels I don't have country of the origin.

I'll be adding more steels and improving/fixing stuff, although next couple weeks will be real busy for me at work, so I may not be that quick with fixes.

P.S. I know help pages need improvement, will do...
 
Last edited:
Massive updates and improvements. I think I'll take a break after this.

In the Knife Steel Database:

1) You can sort by clicking anywhere in the header cell, not only on the name or the arrow. Sometimes it was real annoying aiming with mouse for those.

2) Improved drawing times/algorithm. Reduced table width. That should've fixed all the cases when the sorting direction arrow image was jumping to another line distorting the table header.

3) Added a lot of steels, Latrobe, euro manufacturers. 237 records for now.

4) Added table row hilighting with mouseover. Helps with such a cramped table.

In the Steel Analyzer Graph:

1) Added normal support for a single steel case. Now, when only one steel is selected the graph displays elemental makeup of that steel, and the legend displays elements that are in the alloy, i.e. name and percentage values. Plus if there are any notes attached to the steel record they are displayed below the graph.
Note - steel names can be passed directly into the url address like so:
http://www.zknives.com/knives/steels/steelgraph.shtml?nm=a2,O6 that will display those two, A2 and O6, alternatively if you want to see single steel graph and notes use - http://www.zknives.com/knives/steels/steelgraph.shtml?nm=a2, or select desired steel(s) in the database table and click Graph to build it.

3) Number of the alloys that can be displayed simultaneously in the graph (depends also on the elements chosen for the graph) increased from 7 to 10. You can't see more than 4 alloys if you select all of the elements to analyze, but for the cases when you want to compare 2-3 elements for 10 different alloys it's is now possible.

Well, that's it I hope. I've tested in Ie7, IE8, FireFox 3.5, Kameleon 1.5.3 (i.e. old Gecko engine), Chrome, Safari and FF for Mac. All worked. Old browsers will not work, same for the browsers with disabled JS.

For the stats, combined JS,PHP and HTML code went up to 150Kb...

As usual, any bug reports and improvement ideas/suggestions are welcome.
 
you're welcome. ANd again, any corrections of invalid data, new data etc is highly appreciated.
 
Search improvement.

Very often the same steel is referred with various names using spaces and dashes. A-2, A2 would be an example.
To simplify search I've added special handling of those two characters.
Each search pattern is analyzed for the presence of those two symbols and if they are present, second pattern is generated by removing all occurrences of those two. Thus, searching for A-2 will silently generate search for A-2, A2.
If you want to search for the keyword with spaces and dashes as they are then enclose it in " symbols. So, if I wanted to search for the same A-2 without any extra patterns then use "A-2" in the search control.

This will allow to remove unnecessary clutter from a.k.a column. Name column will contain the steel name as the manufacturer has it in his specs.
 
^^ completely agree...thank you for your time and efforts in this project and for sharing it with us!!!:thumbup:
 
Thanks guys. Can't take all the credit :) A lot of people from this forum, KF and FF helped collecting/fixing the data. Once again, I appreciate all the help U provided and provide guys.
 
Massive improvements to the Knife Steel Comparison And Analyzer Graph.

1) Graph is no longer constrained to 800x600 size. You can select from several different sizes, controlled by either settings form, or query parameter sz; E.g. - http://zknives.com/knives/steels/steelgraph.shtml?nm=D2,D3,D4,D5,D6,D7&sz=3 will compare all D* series steels and generate graph with 1024x768 dimensions. Sizes are numered as following:1 - 640x4890, 2 - 800x600, 3 - 1024x768, 4 - 1200x800, 5 - 1600x1000, 6 - 1920x1000.

2) Improved autosuggest, which now can match search string against both, name and A.k.a. columns and display matches in name (alternate names) form. Selecting the item copies just the alloy name. E.g. typing SR- will show 52100 and S7 steels, because their alternate names are SR-101 and SR-77 respectively, selecting them will copy 52100 and S7 into the alloy selection box.;

3) Skipped alloys, i.e. those that don't fit in the graph are displayed in gray color, so you can easily spot them;

4) Alternate names (when available) are displayed in the single alloy analyzer mode, below the notes.
 
Back
Top